vim: shortcut navigate buffers

This commit is contained in:
Meutel 2016-05-05 15:22:49 +02:00
parent 5cf9a5636e
commit 2addfbf192

7
_vimrc
View File

@ -92,11 +92,16 @@ set shiftwidth=2
" {{{ Shortcuts " {{{ Shortcuts
" clear search " clear search
nnoremap <Leader>l :nohl<cr> nnoremap <Leader>c :nohl<cr>
" NERdTree " NERdTree
nnoremap <Leader>o :NERDTree<cr> nnoremap <Leader>o :NERDTree<cr>
" save " save
nnoremap <Leader>w :w<CR> nnoremap <Leader>w :w<CR>
" quit
nnoremap <Leader>q :q<CR>
" navigate buffers
nnoremap <Leader>h :bn<CR>
nnoremap <Leader>l :bp<CR>
" copy/paste system clipboard " copy/paste system clipboard
vmap <Leader>y "+y vmap <Leader>y "+y
vmap <Leader>d "+d vmap <Leader>d "+d