Appearance
Vi
For a while, when doing system administration work on remote servers, vi was one of the few editors that could be counted on to be installed.
vi is everywhere. It's good to understand the different modes so that you can accomplish basic editing.
Configuration
See .exrc for a simple startup script that will map ctrl-j to print a timestamp.
The below settings can be added to a configuration file
vi ~/.vimrcadd the desired setting as new line without the colon:
set pasteSettings
Line numbers can be helpful in certain contexts, especially when working together
:set numbervia https://linuxize.com/post/how-to-show-line-numbers-in-vim/
Another useful one is
:set pasteThat way when pasting text and a comment shows up, you won't get all of the subsequent lines with comment prefixes added
nano
Many systems also include nano, which also works when you need an editor over a console.