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.google.com
From this line how can I copy and paste ack.goo using vim editor?
|
I'm working with the vim editor and I found www.p From this line how can I copy and paste |
||||
|
|
|
Move cursor under 'a', press 'v', use arrow key to select until 'o', press 'y'. Then move cursor to where you want to paste the text, press 'p'. Done (: |
|||||||||||||||
|
|
You can also type a number before an action or before a movement (or both, I suppose, but that multiplies the numbers and that just seems silly) to repeat the action/movement that many times, so to yank 5 words you can type In your example, |
|||
|