Graduate Program KB

Text Editors


Nano

  • Very small, lightweight and almost available everywhere (usually set as the default text editor)
  • Based off of Pico which was an old text editor of the command-line email client, Pine.
  • CTRL + X to get out of it... this is all that is needed.

Vim

  • ":q" is how you quit
  • If ":q" isn't working and you really want to quit, do ":q!", if this doesn't work try the nuke... ":qa!" (100% success rate)
  • ESC will eventually take you back to command mode

Common commands

  • ":d" removes the current line
  • ":wd" writes and quits the file

Return