vim – Cut and paste


#Yank or copy a line

yy

#Yank or copy 3 lines

3yy

#Yank or copy the characters of the word from the cursor position to the start of the next word

yw

#Yank or copy to the end of line

y$

#Put or paste the clipboard after cursor

p

#Put or paster before cursor

P

#Delete or cut a line

dd

#Delete or cut 3 lines

3dd

#Delete or cut the characters of the word from the cursor position to the start of the next word

dw

#Delete or cut to the end of the line

D or d$

#Delete or cut character

x

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