-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
66 lines (58 loc) · 1.29 KB
/
vimrc
File metadata and controls
66 lines (58 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
let mapleader=";"
nmap LE $
vnoremap ;y "+y
nmap ;p "+p
nmap ;q :q<CR>
nmap ;w :w<CR>
nmap ;WQ :wa<CR>:q<CR>
nmap ;Q :qa!<CR>
nnoremap nw <C-W><C-W>
nnoremap ;lw <C-W>l
nnoremap ;hw <C-W>h
nnoremap ;kw <C-W>k
nnoremap ;jw <C-W>j
nmap ;M %
autocmd BufWritePost $MYVIMRC source $MYVIMRC
set incsearch
set ignorecase
set nocompatible
set wildmenu
" vundle
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'dikiaap/minimalist'
"Plugin 'powerline/powerline'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'jiangmiao/auto-pairs'
Plugin 'tpope/vim-fugitive'
" Plugin 'nathanaelkane/vim-indent-guides'
call vundle#end()
filetype plugin indent on
set t_Co=256
syntax enable
syntax on
colorscheme minimalist
set laststatus=2
set number
set cursorline
set hlsearch
set nowrap
set guifont=YaHei\ Consolas\ Hybrid\ 16
filetype indent on
set expandtab
set tabstop=4
set shiftwidth=4
set softtabstop=4
" let g:indent_guides_enable_on_vim_startup=1
" let g:indent_guides_start_level=2
" let g:indent_guides_guide_size=1
" :nmap <silent> ;i <Plug>IndentGuidesToggle
set foldmethod=syntax
"set foldmethod=indent
set nofoldenable
let g:airline_powerline_fonts = 1
let g:airline_theme="powerlineish"
" leg g:airline#extensions#branch#enabled = 1
"set tags+=/usr/include/sys.tags