Vim Commands


Vim Commands
vim

:wq
exit, save changes

:q
exit, if no changes

:q!
exit, ignore changes

i
insert before cursor

I
insert before line

a
append after cursor

A
append after line

o
open new line after cur line

O
open new line before cur line

r
replace one character

R
replace many characters

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s