Sunday, April 3, 2011

Re: Is there a plugin which allows I add tags in Visual Mode?

On Apr 03, 2011 at 11:56 AM +0400, ZyX wrote:
>Yes, it is surround.vim: when you are in visual mode you can type `s<p>' and get
>selected text surrounded with `<p>...</p>'.

I think tpope's ragtag[1] script enhances surround specifically for HTML. Also
worth checking out. Though I also recommend zen-coding.

[1]: http://www.vim.org/scripts/script.php?script_id=1896

No comments: