|
|
|
|
|
by nrds
481 days ago
|
|
Counting anything in vim is an antipattern. :set rnu
:set nu
will change the gutter to display relative line numbers for all but the current line.FWIW I would very rarely if ever use '5dd'; to me that is spelled 'd4j'. ':set rnu' obviously influences this, since the last line to be copied is labeled '4'. Undo is 'u' and, yeah, you probably need to know that one before starting. Even after over 15 years using vim I still make tons of mistakes and change my mind, and a fairly robust undo system is crucial. |
|