Thursday, 6 November 2014

History of commands and searches in vi editor

In vi editor there are times when one fail to recollect a command which was ran few days back to do something. In this case history of commands and searches comes to help. This can be done in two ways:

  • Type q: for commands, or q/ for searches; or
  • Type : or / to start entering a command or search, then press the Ctrl-f ('cedit' key)

No comments:

Post a Comment