Wrote a post about sorting lines in Neovim, almost wrote an intro to Vim instead
gigatexal.blog
gigatexal.blog
I still don’t yet know how to list all the available commands (if you know, email me how to do this!)
This command opens the command list in the reference manual: :help :ex-cmd-index<return>This should work:
:help ex-cmd-index<return>I don't yet have #anchors to easily navigate but that's a task for another day :sweat_smile:
For example, I always used to use :!sort, until I accidentally dropped the ! once and noticed that it still worked.
Most useful text-processing commands have some native way to do them in Vim, but I often haven't bothered to memorize them, when a shell command is just as easy to type and works in more contexts.
foo bar baz baz
selected, then !sort | uniq and boom became bar baz foo