Just installed the surround plugin.
New buffer, type Hello World. Say I want to surround that with quotes.
In normal mode, V to get into visual mode, s to get into surround
Except it doesn’t, s deletes the entire line.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The default visual mode mapping of surround.vim is Shift–S, not lowercase s.
You can check whether it’s defined with
:verbose vmap S. Do the other surround.vim mappings (ys,cs, …) work? If not, check:scriptnamesand:set runtimepath?for troubleshooting.