The file index.txt is claiming to be a list of all commands, but some keyboard shortcuts are listed on other files and not here. And sometimes, the definition is a bit different in other files. Are they errors, or is there a reason like backward compatibility? If someone knows a more complete shortcuts list, it can also help me.
The main missing / different shortcuts I found are :
- The shortcuts
[M
and]M
with a capitalM
are listed in motion.txt but are not inindext.txt
.index.txt
contains only those with smallm
. - The shortcut
]m
has a different meaning: "cursor N times forward to end of member function" inindex.txt
,
and "Go to [count] next start of a method…" inmotion.txt
. - The shortcuts
[S
and]S
with a capitalS
are listed in spell.txt but are not inindex.txt
. zg
andzG
has the same definition inindex.txt
but different definitions inspell.txt
.zb
andzB
has the same problem.v_CTRL-A
andv_g_CTRL-A
has the same definition inindex.txt
but different in change.txt.
zg
andzug
the latter of which says "undo zg" pluszG
andzuG
("undo zG"). And I don't seev_CTRL-A
orv_g_CTRL-A
as having different definitions...the index.txt text is just abbreviated (perhaps not ideally, though). One shouldn't use the index as the authoritative documentation..it's a cheat sheet basically (with tag links to the main docs). – B Layer Jan 16 at 9:26zug
andzuG
, I will assume it's my mistake as long as they currently are in official repo inindex.txt
. Butv_CTRL-A
andv_g_CTRL-A
also are, respectively on line904
and970
: the first command adds1
to every line, the second adds1
to first line,2
to second line,3
to third line and so on. If the index isn't the authoritative documentation, is there one? or is there any more complete list? – ewen-goisot Jan 19 at 11:01v_CTRL-A
andv_g_CTRL-A
both increment a single number by N (aka{count}
). The index is accurate in that respect. The functionality you're referring to is for selection of multiple numbers. Due to its abbreviated form, the index, wisely or not, doesn't include that variation. Regarding authoritative documentation, as is usually the case there is just one and that's the primary help entries. IOW, there's no authoritative index. If there's an unofficial but arguably better index out there I've not seen it myself. – B Layer Jan 19 at 18:50