Vi Short Command Reference
From Free Knowledge Base- The DUCK Project: information for everyone
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