vi Edit Modes

How to read this table:


Each entry represents a command that you
type in the context of the column mode to 
transform you to the row mode.

	      Sub-                              Last   Calling
From Mode=  shell      ex     Command  Input   Line    Shell

To Mode			
-------

Subshell	--	[!]sh	 [!]sh	   --    :[!]sh	     --


ex editor <^D> or exit	  --       Q	   --      --     $ ex [file(s)]


Command   <^D> or exit	 vi	   --	  ESC	   CR     $ vi [file(s)]
Mode	    ESC


Input 	     --	         --	[iI]nsert  text    --         --
Mode				[aA]ppend  <^H> erase char
				[oO]pen	   <^W> erase word
				[rR]eplace <^U> erase line
				[cC]hange  
				[sS]ubstitute
				


Last Line    --          vi :  : / ? !!cmd --	   --	      -- 
Mode


Calling      --       q, q!, x     ZZ      --  :wq :q :q! :x  --
Shell

Questions about the table? Robert Katz: rkatz@ned.highline.edu
Last Update June 18, 2003