by taylorbuley · 14y ago · 0 comments
See: http://vimdoc.sourceforge.net/htmldoc/visual.html#blockwise-...
ST2 allows multiple cursors in arbitrary locations - I'm not aware of another editor that supports that.
Switches case on lines 4, 15:
:4,15 norm ~
Indents text and changes the first two words of ever line to "duck" from mark a to the end of the file
:'a,$ norm >>2cwduck
Prepends a # to every line of the visual selection
:'<'> norm I#
Applies regex to lines that match a regex
:g/ducks/ s/moo/quack