Vim: Cut, Copy, Paste Easily

Vim: Cut, Copy, Paste Easily

Christopher Kaukis
//

This has been driving me nuts, there are a million ways to do this, but this is by far the easiest method I have found:

  1. Move to the beginning of the block you want to cut/copy and press shift + V for whole lines or CTRL + v.
  2. Move to the end of the block.
  3. Press d (cut) or y (yank/copy).
  4. Move to where you want to paste and press p.

 

Related

UPCOMING WEBINAR

Mastering Data Initiatives: Project Management Secrets for Success

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072

×
Was this article helpful?
×

Love our blog? You should see our emails. Sign up for our newsletter!