Here is the simple step by step guideline to cut and paste in Vim editor.

  1. Press esc if vim editor in insert mode
  2. Position the cursor where you want to start cutting.
  3. Press v to select the characters and move the cursor at end of character you want to cut.                    (Alternatively you can select uppercase V to select whole lines, or Ctrl-v to select the rectangular blocks.)
  4. Press d to cut (or y to copy).
  5. Move to cursor where you would like to paste.
  6. Press P to paste before the cursor, or p to paste after.
(Visited 473 times, 5 visits today)