Re:Vim Plugins You Should Know About, Part VII: ragtag.vim (...
by sophacles on Wednesday March 03, 2010 @01:38PM
(#1164757)
Awesome plugin. A cursory inspection indicates that they are complimentary tho. For instance, you use sparkup to add reams of html. But if it turns out you need to wrap a few elements in a div, ragtag might be better (e.g. add the <div> then navigate to wherever, and do the close). Unless of course sparkup ha that, and I haven't got there yet in the docs.
[ Parent
| on HN ]
Re:Vim Plugins You Should Know About, Part VII: ragtag.vim (...
by graywh on Wednesday March 03, 2010 @02:16PM
(#1164843)
If you need to wrap some things in a div, you could also use another tpope plugin: surround.vim. Just visually select the items and just do this: s<div> Also, you can use motions, etc.