I'm working with the vim editor and I found y
,yw
respectively to copy a line and a word but how can I do the following task in vim?
www.pack.goo
gle.com
From this line how can I copy and paste ack.goo
using vim editor?
vim
I'm working with the vim editor and I found y
,yw
respectively to copy a line and a word but how can I do the following task in vim?
www.pack.goo
gle.com
From this line how can I copy and paste ack.goo
using vim editor?
Best Answer
Move cursor under
a
, press v, use arrow key to select untilo
, press y. Then move cursor to where you want to paste the text, press p. Done.