Alex Rivera | Logout

Detect if a key is bound to something in vim

Asked 2010-03-20T16:44:58.287
122

I'd like to know if there is a way to figure out if a key does something in vim. I know that I can use :map to see user-defined mappings, but is there something for the built-in stuff?

For example, I always had CTRL-W bound to close tab, because I thought that it was unused. After half a year, I found out that there are some sequences that use it, like CTRL-W CTRL-S to split the window, and it was a nightmare to retrain myself.

Edit
Report

1 Answer

101

If you check out the suggested answer by Randy Morris you will find that

:help index 

will give you the list you want.

answered 2010-03-20T18:06:00.520

Your Answer