CentOS Linux Server Guide

Vi Editor - Moving Cursor & Perform Common Operation Using Keyboard

Hey guys, I am so sorry...you cannot move cursor using mouse.

 

The 4 important buttons in VI are h j k l

 

Keyboard button

 h

j

k

l

Arrow key f i h g
Cursor Movement moving left moving down moving up moving right

 

Other buttons that can ease your vi editing life are :)

 

Keyboard button

0 (numeric zero)

$

<CTRL>+f

<CTRL>+b

Cursor Movement moving to beginning of the line moving to end of the line moving cursor one screen back moving cursor one screen forward

Read more on Visual Editor (VI)



Copyright 2011 http://www.1a-centosserver.com All Rights Reserved

All trademarks are the property of their respective owners.

Contact Us | Terms of Use | Privacy Policy