xml editing in vi Auto complete tags Comment Surrounding Texts
installation: git clone https://github.com/sukima/xmledit.git, then make (unnecessary?)
when you write "
use ":h xml-plugin.txt" for more functions;
Note: xmledit is a file-type plugin, which means it will be loaded and only worked when editing a xml file. If you open a temporary buffer or a file without extension "xml", this plugin will not work;
Comment
NERD Commenter: installation: git clone http://github.com/scrooloose/nerdcommenter.git
;
,c
3,c
,cy: copy selected texts before comment out;
Ref: https://github.com/scrooloose/nerdcommenter
Surrounding Texts
installation: git clone git://github.com/tpope/vim-surround.git
;
Add Surroundings
S
S<target>
on
results in:
yss
yss<task>
on "hello world" results in yss"
results in "hello world";
ysiw
ysiw"
results in "hello" world;
Change Surroundings
cs...