Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Vim I once was able to select multiple lines with v, and then press S to replace all those lines and directly go to insert mode.

However, when I now press these buttons, nothing happens. How can I get that behavior back?

share|improve this question
up vote 2 down vote accepted

There is a possibility that you have the Surround plugin installed which uses S and s.

Alternatively, you can use c for the same effect.

share|improve this answer

S and s should be working for you.

A good place to start troubleshooting is to see what the following command shows you:

:verbose vmap S
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.