git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fca850b
)
vi: describe functionality of g^g in visual mode
author
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 24 Aug 2015 01:15:53 +0000
(
03:15
+0200)
committer
Mischa 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
patch
|
blob
|
history
vi.inc.pl
patch
|
blob
|
history
diff --git
a/vi.eng.inc.pl
b/vi.eng.inc.pl
index a4adb9306ba2e90cb9b81a4170b735dc7e8a36f0..1a80065de4beb67caf3c607cbf9f07fd719d412c 100644
(file)
--- a/
vi.eng.inc.pl
+++ b/
vi.eng.inc.pl
@@
-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",
diff --git
a/vi.inc.pl
b/vi.inc.pl
index 322760fe3b748539cd1c73f3423114f66014a321..213c85d49c347616cdb8d3babc55b6a356ca4812 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",