Adding for byte compiling.
TODO: Should look into doing an import instead since we shouldn't need
to declare a function that our library should know about.
I think there was some circular dependency around evil-collection-*
requiring evil-collection.el so I went with the quick and dirty
approach of doing a declare-function. If someone has a better idea,
feel free to change this!
Implement version of evil-define-key instead. The bindings are made immediately
if the map is available. Otherwise, there are lazily made in the same way that
evil-define-key makes them.
Add and use evil-collection-define-key, which is a custom keybinding function
that checks evil-collection-key-{white,black}list before binding each key and
stores a record of the keybindings in evil-collection-bindings-record.
Modify evil-collection-util-inhibit-insert-state to conform to
evil-collection-define-key.
Originally, I placed this in the same file as evil-collection but was
running into problems byte compiling cleanly. Instead of figuring out
how to work around it, I am creating a separate settings file to add
defcustoms lower level modules can consume.
Ideally I can put this setting into the same evil-collection file and
have the the project byte compile cleanly. I am leaving that problem
for another day.