home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume6 / help / part2 / help.dir / vi / states.HLP < prev   
Encoding:
Text File  |  1986-11-30  |  1008 b   |  33 lines

  1.  
  2.     Vi operates in one of three basic states.  When you start the
  3.     edit session, you are in "visual" state.  The text insertion
  4.     commands (i, a, c., etc...) use "insert" state.  Searches
  5.     and special commands are performed in "last line" state.
  6.     
  7.     "Visual" state lets you move around and look at the file.  To
  8.     put in new text or change old text you use "insert" state.  To
  9.     execute complicated commands (e.g. 1,.s/x/X/g) you type a colon
  10.     to enter "Last line" state.  In "last line" state you are typing
  11.     to a prompt at the bottom of the screen.
  12.  
  13.  
  14.     STATE SUMMARY:
  15.  
  16.         -------------   insert cmd.s      -------------
  17.         |        | ------------------> |           |
  18.         |  VISUAL   |                     |   INSERT  |
  19.         |           | <------------------ |           | 
  20.         -------------      ESCape key     -------------
  21.          |        ^
  22.          '?' |        | 
  23.          '/' |      | RETURN or
  24.          ':' |        | ESCape
  25.          |        |
  26.          V        |
  27.         -------------
  28.         |           |
  29.         | LAST LINE |
  30.         |           |
  31.         -------------
  32.  
  33.