1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 03:21:30 +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 5a79c63f33
commit 1a603373ec
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

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)