12

I'm using Vim for a while now, starting to like it more and more. But when searching for some new features that Vim has in it's goodie bag, I'm often slapped in the face with things like <Leader> <C-r>, etc... I'm feeling really stupid for not being able to relate these to keys, commands, or what soever they should mean. I've also been searching multiple times for the use of these verbs, but I think I'm not using the correct search queries to get to the right explanation pages.

Could someone give me a push in the right direction or maybe summarize the meaning / workings of these verbs?

0

2 Answers 2

21

:help key-notation lists the meanings of all those <key>.

0
2

Mhhh .. among the first results in google for "vim leader" this pops up:

https://stackoverflow.com/questions/1764263/what-is-the-leader-in-a-vimrc-file

<C-r> is some mapping to the Ctrlr key-combination, whatever that maps to. You just enter :help c-r and press tab to get the list of help topics.

5
  • Feeling even more stupid now... Thanks, I can't even imagine how I would not have found that... I did not know about the :help c-r for help on shortcuts, thanks!
    – Ambidex
    Oct 11, 2012 at 7:37
  • 1
    c-r itself is most likely a mapping, fire :map or :vmap or :imap to see whats behind it.
    – akira
    Oct 11, 2012 at 7:40
  • help c-r took me to <C-Right, which isn't the same thing.
    – Flimm
    Feb 15, 2023 at 8:52
  • @Flimm: the same thing as … what? the question was how to find information about key-combos like x. using :help is one way, using :*map to check current mappings to the actual function being called is another.
    – akira
    Feb 17, 2023 at 6:23
  • ctrl-r is not the same thing as ctrl-right
    – Flimm
    Feb 17, 2023 at 21:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .