http://pcproblems.afraid.org

Vi editor commands and Meanings


Forums
Home
Links

Solutions

Windows 9x/ME/XP
Internet
Linux/Unix
Hardware Issues
Misc Issues

Drivers

VGA(PCI/AGP)
Audio
Other Drivers

Others

Feedback
Precautions
Handy Freewares
Google Page Rank
Check Anonymity
Web Proxy List
Image Host List
Other Links

Linux Vi editor commands list with Descriptions.

Every one who used linux/unix knows how veird Vi editor looks for a newbee. I have collected here a few usefull commands used in Vi with their meanings. Hope it is helpful.

Vi Command Meaning

Del Erase Previous character
Ctrl+W Erase previous word
Ctrl+V Quote the Next Character
Esc Start Control Mode

Following Commands are available in Control Mode Only.

h Move cursor left one character
l Move cursor right one character
w Move cursor right one word
b Move cursor left one word
W Move to beginning of next non-blank word
B Move to beginning of preceding non-blank word
e Move to end of current word
E Move to end of current non-blank word
O Move to beginning of line
^ Move to first non-blank character in line
$ Move to end of line