Skip to Content

Vim Surround on .erb file

Posted on

Today, I found a very interesting things with Vim. That is smt named Visual Block.

To enter Visual Block, use: Ctrl-V

Some things funny with Visual Block:

#######################################

This is the test from Visual Block

#######################################

Ctrl+v jjj$r#

After selection, you can change text by using command: c, I, A, r, d. Use o to toggle opposite corner.

comments powered by Disqus