Today I Learned

hashrocket A Hashrocket project

List Your Leader Vim Mappings

Mapping your Vim leader is a great way to customize Vim without clobbering keys that are already mapped. By default your Vim leader is \, but you can change it to another key - many people suggest , since it’s so easy to type but I just use the default.

In any event, if you want to add a leader mapping how can you be sure that it’s not already taken??

Easy, try this:

:map 

Behold - a list of all mappings that involve your leader key.

See More #vim TILs
Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.