Difference between revisions of "Vi Short Command Reference"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m
m
Line 5: Line 5:
 
|}
 
|}
  
== Operation ==
+
=== Operation ===
 
{| width="525" border="01" cellpadding="2"
 
{| width="525" border="01" cellpadding="2"
 
| width="150" | i
 
| width="150" | i

Revision as of 21:35, 27 June 2007

Vi short command reference

(Learn or review your Vi commands with this concise reference)
by: Krissy J. krissyj@robotz.com

Operation

i input mode
esc command mode
:se number display line numbers
:se nonumber don't display line numbers
:e open file
:w save (write) file to disk
:wq save and quit
:q! quit but don't save
number,command apply command number times (e.g. 4,x = delete 4 characters)
. repeat last effective cmd
esc,u undo it
ctrl-r redo it



Trans American Software
Robotz.com Developer's Project
developer@robotz.com