diff --git a/vim/shortcuts.vim b/vim/shortcuts.vim index b8f80ba..a487dc3 100644 --- a/vim/shortcuts.vim +++ b/vim/shortcuts.vim @@ -32,8 +32,9 @@ nmap n :tabnext nmap p :tabprev nmap N :tabnew -" 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 ] ]mzz map [ [mzz