S5 version Table of Contents (frame/ no frame)
(23) Vi navigation Previous Top Next

Vi navigation

Vi commands continued.

i, I
Enter insert mode before current character. I inserts at start of line.
a, A
Enter append mode (like insert, but after current character). A appends to end of line
o, O
Enter insert mode on a new line below current line (open). O goes to insert mode on a new line above the current line.
ESC
The Escape key stops insert mode and returns to command mode. Pressing Escape in command mode just beeps.

Vi navigation

On almost all terminals and terminal emulation software, the arrow keys will work as expected. Alternately, in command mode, the h,j,k,l keys behave as arrow keys.


Previous Top Next


slide24.src  last modified Jan 31, 2011 Introduction Table of Contents
(frame/no frame)
Printable
(single file)
© Dartmouth College