vim: shortcut navigate buffers
This commit is contained in:
parent
5cf9a5636e
commit
2addfbf192
7
_vimrc
7
_vimrc
@ -92,11 +92,16 @@ set shiftwidth=2
|
||||
|
||||
" {{{ Shortcuts
|
||||
" clear search
|
||||
nnoremap <Leader>l :nohl<cr>
|
||||
nnoremap <Leader>c :nohl<cr>
|
||||
" NERdTree
|
||||
nnoremap <Leader>o :NERDTree<cr>
|
||||
" save
|
||||
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
|
||||
vmap <Leader>y "+y
|
||||
vmap <Leader>d "+d
|
||||
|
Loading…
Reference in New Issue
Block a user