VIM SURROND REFERENCE
=====================
based off of:
* http://www.vim.org/scripts/script.php?script_id=1697
additional documentation:
* https://github.com/tpope/vim-surround/tree/master/doc
Starting Example:
"Hello World!"
Surround Targets::
t tag-blocks
w word
W WORD
s sentance
p paragraph
cs"' Change surrounding double quotes (") to single quotes (')
cs'<q> Change surrounding single quotes (') to tags (<q>)
cst" Change surrounding tag (<q>) to double quotes (")
ds" Delete surrounding double quote (")
ysiw] Wrap surrounding text object (iw) with brackets ([])
ysiw[ Wrap surrounding text object (iw) with brackets with some space ([ ])
ysiw<em> Wrap surrounding text object (iw) with tags (<em>)
yssb Wrap surrounding sentance/line with parentheses (())
yss) Same as above
yssB Wrap surrounding sentance/line with parentheses ({})
yss} Same as above
capital V (for linewise visual mode) followed by S<p class="important">
Surround selected lines with <p class="important> and </p>
vllls' select visual mode, move right 3, surround with single quotes (')