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

后端 未结 2 696
遥遥无期
遥遥无期 2021-02-10 06:07

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:33

    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.

提交回复
热议问题