3 ms·
Consider exposing commands that the user can then assign to their own preferred keybindings instead of choosing for them
by thor_molecules 2y ago
Consider exposing commands that the user can then assign to their own preferred keybindings instead of choosing for them
- JosefAlbers 2y agoThanks 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).
- thor_molecules 2y agohttps://github.com/tpope/vim-fugitive/blob/b068eaf1e6cbe35d1ac100d435cd7f7b74a5c87d/plugin/fugitive.vim#L569 https://github.com/tpope/vim-fugitive/blob/b068eaf1e6cbe35d1... for reference, an example from a tpope plugin
- JosefAlbers 2y agoWhoa, thanks! Will definitely look into that