ktonga / vim-follow-my-lead

Vim plugin for showing all your <Leader> mappings in a readable table including the descriptions.
105 stars 9 forks source link

Only one comment per <leader> key sequence #13

Closed pmcRTR closed 8 years ago

pmcRTR commented 8 years ago

I sometimes define the same shortcuts for different Vim modes.

For example, I have a shortcut defined in normal mode to trim trailing spaces from the current buffer and the exact same shortcut defined in visual mode to do the same operation but on the visual selection only.

FML overwrites the comment that appears next to the normal mode mapping with the one that is subsequently defined for the same mapping for visual mode.

This results in the same comment appearing next to both the normal and visual mode mappings in the displayed list of FML leader mappings.