I just downloaded vim today. The surround plugin documentation says: Press cs’ inside Hello
Share
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.
Just downloaded vim? You’ve made the right choice!
Vim has several modes.
Insert mode is what you use to actually type text. It is not what you use to move around the document ( in vim terms, the ‘buffer’ ).
After you have typed “Hello world”:
hit ESC to go to Command mode.
use the ‘hjkl’ keys to move the cursor inside the quotes.
then type cs”‘ to Change Surrounds from ” to ‘
Vim’s online help is excellent.
In Command mode, type :help surround to get the help for the plugin
if you see nothing doing that, first try :help helptags , which will tell you how to setup the help files ( surround plugin also has excellent help )