Once you grok vi, your muscle memory learns tricks like ggVGx
to delete all the text in a file. Trouble is, ggVGx
is not an English word, so it makes a terrible mnemonic.
This challenge is about constructing a single Vi[m] command that can be reasonably read as an English word, phrase or sentence. One point per letter.
Modifier keys such as meta/alt, control, and shift should be written as they are in VimScript, e.g. <C-c>
so we can read them, but will be pronounced as two consecutive letters: cc
, for a score of 2.
Vim commands that start with :
are only count toward your scrore if they build a word out of non-words. So :%s/aword/anotherword/gi
would only add 3 to your score, for sgi
(and only then if sgi
is part of an actual English word or phrase, such as hasgills
. Similarly :help
would add zero to your score.
No user-defined mappings. Your answer should work on a fresh install of Vim with no .vimrc or other gizmos.
Finally, the command has to do something other than throw an error.
Example Entry:
cap (3)
cap
, change a paragraph
:
? Most of them are pretty obviously English words. \$\endgroup\$ggdG
(orGdgg
) \$\endgroup\$