summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-07-02 22:08:11 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-07-02 22:08:11 +0200
commita7b3139aa512e3b790fa6e0583744dd3e25a29fb (patch)
treecd6bd6ee4343b10ce054077216fd647f1c14197e
parent8d656e6a8cd3ac564280a167a669d575c34be7ad (diff)
downloadexrc-a7b3139aa512e3b790fa6e0583744dd3e25a29fb.tar.gz
Add gg command
-rw-r--r--vi.exrc6
1 files 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  ?^[.'][^ ]*$