How to find out in Vim which command is triggered by some shortcut

后端 未结 2 1215
生来不讨喜
生来不讨喜 2021-02-10 05:42

I try to execute a command in some plugin by pushing it\'s keyboard shortcut F2. But some other command is executed, instead. But that command gives an error. So it i

2条回答
  •  离开以前
    2021-02-10 06:34

    verbose map 
    

    will give you information about both {rhs} and place where this mapping was defined. For insert mode mappings replace map with imap, same for other mapping modes.

提交回复
热议问题