Skip to content

fcpg/vim-showmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim-showmap

Showmap helps you type multi-char mappings.

For instance, in Tpope's unimpaired plugin, you can toggle some Vim options with the co maps Eg. col toggles the 'list' option. Say you quickly want to toggle 'cursorcolumn': you start typing co, and then... damn, what's the letter again for 'cursorcolumn'? 'c'? Nah, that's 'cursorline'. Shoot, the mapping timed out...

Showmap automatically binds a helper mapping on common prefixes, like co, and when you stall at that point, a list of available keys is shown; the helper can wait as long as you want for you to complete it, or you can get more details about individual mappings.

Screenshots

Stalling on <Leader>t, my prefix for setting/toggling some mode/options:

(Taken on minTTY with Office Code Pro font and Fahrenheit color theme)

Installation

Use your favorite method:

Help

Run :helptags (or :Helptags with Pathogen), then :help showmap

License

Attribution-ShareAlike 4.0 Int.

About

Showmap helps you type multi-char mappings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published