Open dbarnett opened 4 years ago
Implements maktaba helpers for programmatically managing vim key mappings (as in the :map command) in maktaba#keymapping# and maktaba#keymappingspec#.
:map
maktaba#keymapping#
maktaba#keymappingspec#
Usage examples:
call maktaba#keymapping#Map(',=b', ':FormatCode<CR>', 'n') call maktaba#keymappingspec#Spec(',=b', ':FormatCode<CR>', 'n') \.WithArgs(['<silent>', <buffer>']).Map()
See keymapping.vroom and :help maktaba.KeyMapping for details.
:help maktaba.KeyMapping
Resolves #221.
I'd held off on merging this PR for a while because
I'm still looking into those, but went ahead and submitted some fixes and resolved review comments while I'm looking at it.
Implements maktaba helpers for programmatically managing vim key mappings (as in the
:map
command) inmaktaba#keymapping#
andmaktaba#keymappingspec#
.Usage examples:
See keymapping.vroom and
:help maktaba.KeyMapping
for details.Resolves #221.