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
|
" {{{ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user