Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

vim

mapping

I would like to know what <leader>a is mapped to in my vim. Is there a command to know this?

like image 422
Sagar Jain Avatar asked Nov 19 '25 14:11

Sagar Jain


1 Answers

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.
like image 86
Lieven Keersmaekers Avatar answered Nov 22 '25 02:11

Lieven Keersmaekers



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!