Saturday, January 19, 2013

VI tips


Vi Tips and techniques

Why you still hate vi

  *  Your fingers still hit the wrong keys sometimes.
  *  You forget which mode you are in.

Facts
   
        We are stuck with vi. But in return it is powerful and designed to minimize the hand movement needed to change a text file. As a result it uses modes. This means that every key has several meanings depending on the internal state vi. In the command mode each key is a command or part of a command. I've listed some of these under below. Some keys in command mode shift you into other modes. For instance "i" gets you into insert mode, and you stay there until you tap the <Esc> key (or CTRL/[ if you don't have an Esc Key!).





Back To Top