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

时间:2015-08-19 11:56:16

标签: vim mapping

我想知道我的vim中<leader>a映射到了什么。 是否有命令要知道这个?

1 个答案:

答案 0 :(得分:4)

使用:map <leader>a获取具有该特定前缀的所有映射的列表。

来自: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.
相关问题