Add leader shortcuts for vim tab navigation

This commit is contained in:
Tanguy Herbron 2020-08-26 15:56:47 +02:00
parent 6b19accbf0
commit c06c5bb385

View File

@ -87,6 +87,17 @@ nnoremap <leader>l :wincmd l<CR>
nnoremap <leader>u :UndotreeToggle<CR> nnoremap <leader>u :UndotreeToggle<CR>
nnoremap <leader>ps :Rg<SPACE> nnoremap <leader>ps :Rg<SPACE>
nnoremap <leader>1 1gt
nnoremap <leader>2 2gt
nnoremap <leader>3 3gt
nnoremap <leader>4 4gt
nnoremap <leader>5 5gt
nnoremap <leader>6 6gt
nnoremap <leader>7 7gt
nnoremap <leader>8 8gt
nnoremap <leader>9 9gt
nnoremap <leader>0 10gt
" Add folding shortcuts and settings " Add folding shortcuts and settings
set foldmethod=indent set foldmethod=indent
set foldnestmax=10 set foldnestmax=10