Difference between revisions of "Vi Short Command Reference"
From Free Knowledge Base- The DUCK Project: information for everyone
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 20:35, 27 June 2007
Vi short command reference(Learn or review your Vi commands with this concise reference) |
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 |
Robotz.com Developer's Project
developer@robotz.com