简体   繁体   English

如何查看vim中特定键的映射?

[英]How to see what mapping for a particular key in vim?

I would like to know what <leader>a is mapped to in my vim. 我想知道我的vim中<leader>a被映射到什么。 Is there a command to know this? 有命令知道这一点吗?

Use :map <leader>a to get a list of all mappings having that specific prefix. 使用:map <leader>a获取具有该特定前缀的所有映射的列表。

from :h :map 来自:h :map

        List all key mappings for the modes where the map
        command applies.  Note that ":map" and ":map!" are
        used most often, because they include the other modes.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM