vim: add mapping to lisr buffers and switch
This commit is contained in:
parent
9cba97d32b
commit
20c3128b11
1 changed files with 3 additions and 0 deletions
|
@ -175,6 +175,9 @@ nnoremap <c-l> <c-w>l
|
|||
nnoremap <c-n> :tabprevious<cr>
|
||||
nnoremap <c-m> :tabnext<cr>
|
||||
|
||||
" show list of buffers and prepare to switch
|
||||
nnoremap <leader>bf :ls<CR>:b<Space>
|
||||
|
||||
" quickly change background
|
||||
nnoremap <leader>bg
|
||||
\ :let &background = &background ==? 'light' ? 'dark' : 'light'<cr>
|
||||
|
|
Loading…
Add table
Reference in a new issue