0

What is the meaning of <S-x> or <C-x> in the documentation? Example: http://vimdoc.sourceforge.net/htmldoc/motion.html#%3CS-Right%3E

I often see people using <C-x> to refer to Ctrl-x, but I don't believe that's what the documentation means.

2

From :help <s-

<S-...>     shift-key           *shift* *<S-*
<C-...>     control-key         *control* *ctrl* *<C-*

Thus, S- refers to the holding the shift key while pressing the following key. This is usually not necessary since <s-a> literally means A, but it is with <s-left> and <s-right>.

| improve this answer | |
2

:help key-notation shows a complete list of all special keys.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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