mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
vim: add comments to navigation shortcuts
This commit is contained in:
parent
b73838f58b
commit
245eb034f4
|
@ -32,8 +32,9 @@ nmap <C-W>n :tabnext<CR>
|
||||||
nmap <C-W>p :tabprev<CR>
|
nmap <C-W>p :tabprev<CR>
|
||||||
nmap <C-W>N :tabnew<CR>
|
nmap <C-W>N :tabnew<CR>
|
||||||
|
|
||||||
" move betweween methods, centering the method on each movement
|
" move betweween functions/methods/classes definition,
|
||||||
" [m moves to the start of the previous method, ]m to the end
|
" [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
|
||||||
map <Leader>[ [mzz
|
map <Leader>[ [mzz
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user