Domanda

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?

È stato utile?

Soluzione

Just map it back to S?

vmap s S

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top