Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers 2

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
add comment

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
add comment

Your Answer

 
discard

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.