I'm transitioning to vim from another vi-like editor. I keep trying to use my old key combinations but of course vim has different mappings. How can I find out what function is mapped to the key combination I pushed? For example, I might push Ctrl-O and something happens, but I don't understand what it is, and want to learn about it.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
do this:
Where ^o is pressing CTRL-o |
|||||||||||
|
|
You can identify the mapping and its source via the different map commands. For example:
If you have some time to kill have a look at the Vim Tips Wiki on the topic of key mappings. Their tutorial covers all you need. If you've got Ruby on your machine I can highly recommend the vimdb gem. |
|||
|
|
|
Maybe vimdb could be something for you. From the project website:
|
|||
|
|