gepoch / vim-surround

Surround for the Atom editor.
MIT License
52 stars 2 forks source link

<html>, <h1>, etc don't seem to work? #29

Open Shivang44 opened 9 years ago

Shivang44 commented 9 years ago

Hi, I'm really new to vim and atom in general so excuse my lack of knowledge. I added the following custom surrounds:

<html></html>, <h1></h1>

And now when I press 's' after selecting some text in visual mode, the text is simply deleted. No html tags are added. And other surrounds don't work anymore (quotes, brackets, etc). When I remove these custom html tags, everything works again.

Is it not possible to have these html tags in surround? Or am I just doing it wrong?

Thanks for the great package!

gepoch commented 9 years ago

Hey @Shivang44! Vim-surround for atom isn't yet complete. While it's in the roadmap, HTML tagging hasn't been implemented yet!

Currently, I'm working on integrating vim-surround more closely with Atom's vim-mode package. Work is ongoing!

PR's are welcome! Check the readme for updates!