Vim is a text editor based on vi editor common to Unix-linke systems. It is by far one of the most advanced cli editors. Note that there also are gui implementations. These are some of the commands i regularly use. I won’t add them all, so if you can’t find something here, use the manual. If I start using new ones often I will add them. If you notice one I should know about, please comment below.
:$ Jump to end of file
/[search] Search for a string in the file. Find next by pressing n
:set nonumber Disable line numbers
:m Move current line after
:%!xmllint –format - Format xmlcomments powered by Disqus