vim – Editing


#Replace a single character

r

#Join the line below to the current one with one space in between

J

#Join the line below to the current one without space in between

qJ

#Reflow paragraph

gwip

#Change or replace entire line

cc

#Change or replace to the end of the line

C or c$

#Change or replace entire word

ciw

#Change or replace to the end of the word

cw

#Delete character and sbstitute text

s

#Delete line and substitute text ( same as cc )

S

#Transpose two letters ( delete and paste )

xp

#Undo

u

#redo

Ctrl+r

#Repeat last command

.

To contribute :

” If you like Advance Computing and would like to contribute, you can  mail your article to “computingadvance@gmail.com”. You will get credit as your name , email id, designation with article on this blog. “

Leave a Reply