vi: describe functionality of g^g in visual mode
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 24 Aug 2015 01:15:53 +0000 (03:15 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 21 Sep 2015 22:20:08 +0000 (00:20 +0200)
Similar to normal g^g, but on selection instead of cursor, so distinct.

vi.eng.inc.pl
vi.inc.pl

index a4adb93..1a80065 100644 (file)
@@ -357,6 +357,7 @@ key => {
 
        "vg\e"=> "visual mode",
        'vg?' => "rot13 encode",
+       'vg^g'=> "count region info",
        'vgJ' => "join literal<>ly",
        'vgq' => "for<>mat",
        'vgw' => "for<>mat still",
index 322760f..213c85d 100644 (file)
--- a/vi.inc.pl
+++ b/vi.inc.pl
@@ -432,6 +432,7 @@ vg => {
 
        '^['=> "=\e",
        '?' => "g4 ext vim6",
+       '^g' => "g1 vim6",
        'J' => 'g4 ext vim6',
        'q' => "g4 ext vim6",
        'v' => "=gv",