From a7b3139aa512e3b790fa6e0583744dd3e25a29fb Mon Sep 17 00:00:00 2001 From: John Ankarstrom Date: Fri, 2 Jul 2021 22:08:11 +0200 Subject: Add gg command --- vi.exrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vi.exrc b/vi.exrc index cbd1dd2..bd15332 100644 --- a/vi.exrc +++ b/vi.exrc @@ -1,4 +1,6 @@ -" set mark like vim's visual line mode +map gg 1G + +" set mark like vim's visual mode map V mv " jump to other end of "selection" @@ -26,5 +28,5 @@ map gw f map gb F " go to next/previous troff command -map  ?^[.'][^ ]*$ map  /^[.'][^ ]*$ +map  ?^[.'][^ ]*$ -- cgit v1.2.3