Detect if a key is bound to something in vim

后端 未结 6 1956
暖寄归人
暖寄归人 2020-12-12 12:33

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 somethin

6条回答
  •  醉梦人生
    2020-12-12 13:25

    Not a complete answer, but you may want to check out :help map-which-keys for a list of keys that vim recommends you to use in your custom maps.

    That help section has a recommendation of how to tell if a specific key is mapped to an action.

提交回复
热议问题