Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I copy a vertical text block in vim on a Mac?

On a PC on would just do ctrl-c at starting point and ctrl-c at the end point and it would copy between these two coordinates. How do I do that on a Mac?

share|improve this question
up vote 2 down vote accepted

Don't know if Vim under Mac is different, but in Linux you can do this - press Ctrl+V to enter VISUAL BLOCK mode, then select usually (e.g. move with hjkl), then y to yank when done.

share|improve this answer
Awesome. Didnt know there was a visual block mode. – Guhlino Feb 22 '12 at 8:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.