I accidentally press a shorcut key, and I know that vim has done something but I don’t know what.
How can I find out what that shortcut key does?
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.
There are two potential sources for information. First of all, if it’s a built in shortcut, it is normally in the help documentation. For instance, if you do
:help CTRL-I, it’ll take you to a help entry about moving around your jump list.It is possible, however, that you have a custom mapping from one of your
.vimrcfiles or an underdocumented plugin. In that case, try using:mapwhich will list all custom keyboard mappings that are currently active. That will give you three columns:You can then use
:helpto further investigate the command that is run.