Provide option to unbind default <Tab> and <CR> bindings for abbreviation expansion
Hello!
I'm a big fan of the plugin and have been using it for class.
I would like the option to unbind <Tab> and <CR> from expanding abbreviations, without also disabling abbreviations entirely. If someone (like me) has an insane personal preference for using keys other than <Tab> and <CR> for completion, it can be annoying to hit <Tab> for indenting the line and then get an expansion instead.
It is currently easy to map another key to expand abbreviations, using the require("lua.abbreviations").convert() function. I believe it would also be nice to either:
- Allow for
keymaps = falseinconfig.abbreviationsin order to not bind<Tab>and<CR>, or - Allow for
config.mappings = falseto remove those bindings.
Thank you -- your plugin has really saved my butt in my Formal Methods class becuase now I don't need to leave Neovim to do my coursework!
(Thanks for the kind words!)
I think this sounds reasonable + doable. I have a few other things I'm immediately trying to finish with the plugin, but I'll try to have a look at this at least to form an opinion on your 2 possibilites in the next few days.