简体   繁体   中英

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. Is there a command to know this?

Use :map <leader>a to get a list of all mappings having that specific prefix.

from :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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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