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 is not clear where the key mapping of that interfering command is defined. I want to change the mapping of that shortcut. To do this I need to find out what that interfering command is.
有没有办法找出某个键盘快捷键触发了哪个命令?
verbose map <F2>
将为您提供有关 {rhs} 和定义此映射的位置的信息。对于插入模式映射替换map
with imap
,其他映射模式也一样。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)