Showing posts with label visual. Show all posts
Showing posts with label visual. Show all posts

Wednesday, April 23, 2008

Vim Visual Reference

For any visual learners in the crowd, here's a very nice visual Vim reference. There are a lot of cheat sheets out there, and I may add a few more to this post down the road.

Vim Visual Reference.

Wednesday, April 2, 2008

Visual Block Change

In Vim, you can replace a selected portion of text across multiple lines with a new piece of text using a Visual-block change. As an example, highlight a portion of text across multiple lines using ctrl-v (blockwise visual mode), now press the "c" key to delete the selected text and enter insert mode. Type in some new text and press the Esc key. The text should be inserted for each row of the selection.