4 ms·
Vim oneliners are useful thing to know even when Vim provides other ways to achieve the same thing. e.g. g ctrl-g for word count. What's useful about learning
by Lio 3y ago
Vim oneliners are useful thing to know even when Vim provides other ways to achieve the same thing. e.g. g ctrl-g for word count.
What's useful about learning and thinking about Vim's command line is the overlap with tools such as sed, which also descends from the ed command.
Being about to use sed is REALLY useful even if it's just for simple Unix pipelines like renaming multiple files or branches in git.