diff --git a/vim/shortcuts.vim b/vim/shortcuts.vim index 2d2b6af..b8f80ba 100644 --- a/vim/shortcuts.vim +++ b/vim/shortcuts.vim @@ -32,6 +32,11 @@ 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 +map ] ]mzz +map [ [mzz + " open quickfix nmap cc :botright cope " open loclist