1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 11:51:41 +01:00

vim: add comments to navigation shortcuts

This commit is contained in:
bretello 2023-12-28 16:23:18 +01:00
parent b73838f58b
commit 245eb034f4
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -32,8 +32,9 @@ nmap <C-W>n :tabnext<CR>
nmap <C-W>p :tabprev<CR>
nmap <C-W>N :tabnew<CR>
" move betweween methods, centering the method on each movement
" [m moves to the start of the previous method, ]m to the end
" move betweween functions/methods/classes definition,
" [m moves to the start of the previous method, ]m to the start of the next
" zz centers the result
map <Leader>] ]mzz
map <Leader>[ [mzz