Copy and Paste in Vim

To copy and paste a chunk of code in Vim follow these instructions;

  1. Place the cursor on the line you want to begin cutting.
  2. Press V to select the entire line, or v to select from where your cursor is.
  3. Move the cursor to the end of what you want to cut, using h,j,k, or l
  4. Press y to copy it, or d to cut it.
  5. Place the cursor where you would like to paste your copied stuff.
  6. Press P to paste it before your cursor, or p to paste it after the cursor.

You can copy and paste between buffers.

Recent posts View all

TextExpander

TextExpander Usage Statistics

I was curious about how TextExpander calculated usage across different apps, here is what I've found

Rails

Making your Trix toolbar sticky

Editing long sections of text can be cumbersome with the Trix editor. Let's make it better.