1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-04 16:51:31 +01:00

vim: add <leader>t shortcuts class for tab navigation

This commit is contained in:
bretello 2021-03-14 17:12:41 +01:00
parent 2406cf2753
commit d9fb4c44aa

View File

@ -26,6 +26,12 @@ nmap <leader>pp :setlocal paste!<CR>
" Re-select the text block just pasted
nnoremap <Leader>vv V`]
" Easy tab navigation with <leader>t
nmap <leader>tn :tabnext<CR>
nmap <leader>tN :tabnew<CR>
nmap <leader>tp :tabprev<CR>
nmap <leader>tc :tabclose<CR>
" open quickfix
nmap <leader>cc :botright cope<CR>
" close quickfix (also see <leader>C below)