Sagar Jain
Sagar Jain

Reputation: 7941

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?

Upvotes: 3

Views: 2462

Answers (1)

Lieven Keersmaekers
Lieven Keersmaekers

Reputation: 58491

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.

Upvotes: 7

Related Questions