From 245eb034f487165efe686f209b6d0e35e5977885 Mon Sep 17 00:00:00 2001 From: bretello Date: Thu, 28 Dec 2023 16:23:18 +0100 Subject: [PATCH] vim: add comments to navigation shortcuts --- vim/shortcuts.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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