3

When I select some code by v key and press s to surround and closed in brackets i receive this error:

 surround.vim Visual mode s has been remove in favor of S

How to revert this functionality?

tomekfranek
  • 6,852
  • 8
  • 45
  • 80

2 Answers2

8

Just map it back to S?

vmap s S
Zsolt Botykai
  • 50,406
  • 14
  • 85
  • 110
esamatti
  • 18,293
  • 11
  • 75
  • 82
1

You can't. You have to use v+S as suggested. See this for further details.

lucapette
  • 20,564
  • 6
  • 65
  • 59