Hacker News new | ask | show | jobs
by thor_molecules 489 days ago
Consider exposing commands that the user can then assign to their own preferred keybindings instead of choosing for them
1 comments

Thanks for the suggestion! The plugin currently supports toggling between <Leader>/<C-*> via USE_LEADER config flag. I will add a field in the config file for more customizability (e.g., "KEYBINDINGS": {"mapl":"<C-a>", "mapj":"<Leader>o", ...} in cfg.json).
https://github.com/tpope/vim-fugitive/blob/b068eaf1e6cbe35d1... for reference, an example from a tpope plugin
Whoa, thanks! Will definitely look into that