1

In vim, yss- can add the erb tag <% %> surrounding the current sentence.

If I want to do the opposite operation, ds<% doesn't work. I have to repeat these typing like: ds% followed by ds< to remove the erb tag completely.

Is there a more direct way to remove it?

canoe
  • 1,273
  • 13
  • 29

1 Answers1

0

Have you had a look at this surround.vim?

Alisso
  • 1,861
  • 1
  • 17
  • 32
  • Great, I now see that this is an old question, but it came up as I was trying searching - trying to remember what the plugin was called. – Alisso Jul 29 '15 at 12:26