initial commit
This commit is contained in:
commit
269890a86f
2 changed files with 28 additions and 0 deletions
27
.vimrc
Normal file
27
.vimrc
Normal file
|
@ -0,0 +1,27 @@
|
|||
call plug#begin()
|
||||
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'xuyuanp/nerdtree-git-plugin'
|
||||
|
||||
call plug#end()
|
||||
|
||||
nnoremap <C-t> :tabnew<CR>
|
||||
nnoremap <C-r> :tabclose<CR>
|
||||
nnoremap <C-Left> :tabprevious<CR>
|
||||
nnoremap <C-Right> :tabnext<CR>
|
||||
nnoremap <C-Up> <C-w>W
|
||||
nnoremap <C-Down> <C-w>w
|
||||
nnoremap <M-Up> <C-w>5+
|
||||
nnoremap <M-Down> <C-w>5-
|
||||
nnoremap <M-Left> <C-w>5<
|
||||
nnoremap <M-Right> <C-w>5>
|
||||
|
||||
nnoremap <C-e> :vsplit<CR>
|
||||
nnoremap <C-q> :q<CR>
|
||||
|
||||
autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif
|
||||
|
||||
" nnoremap <C-n> :NERDTree<CR>
|
||||
nnoremap <C-y> :NERDTreeFocus<CR>
|
1
README.md
Normal file
1
README.md
Normal file
|
@ -0,0 +1 @@
|
|||
my .vimrc
|
Loading…
Reference in a new issue