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 another thread about Vim, someone suggested ci" in order to change an entire string when the cursor is on the string.

I found this very interesting and wanted to read about it in Vim's help system. Yet, a :help ci brought me to copyindent (which is obviously not what I was after) and a :help ci" told me that there's no help for it.

So, how would I go about searching for help on this specific feature? Also, how do you generally search for features you know they're there but forgot the name of it.

Thanks / Rene

share|improve this question
up vote 0 down vote accepted

Investigate :h helpgrep.

share|improve this answer
Err... How did that help here? – innaM Nov 9 '09 at 10:03

The trouble is that you have to understand a lot of how vim works before you can use the help system effectively.

In your case, the answer is that there is no ci" command. However, there is a c command and indeed, :help c will send you to the correct topic. This will tell you about c{motion}. Think of the i" part as parameters or modifiers to the c command. Other modifiers of the c command are, for example, w which will change a word or $ which will change the rest of the line.

To answer your question: You can look stuff like that up by trying the first character of the command you were given. If that brings up a help topic, the topic should also explain what modifiers you can use with the command. In this case, it will tell you about {motion}. Place the cursor on that and hit Ctrl-] to see what a motion is.

share|improve this answer
beat me to it. note the difference between the single-letter-commands and the ones that are preceeded with :. – quack quixote Nov 8 '09 at 9:43
;-) Good point. The colon makes a huge difference. – innaM Nov 8 '09 at 9:45

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.