Vim Surround on .erb file
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.