Commit Graph

9 Commits

Author SHA1 Message Date
James Nguyen 206dd25587 Magit: Bind q for read-only-mode (#108) 2019-05-18 12:52:48 -07:00
Enze Chi d9760942c6 Autoload "evil-collection-*-setup" functions
With autoload, it doesn't need "require" the package before call
evil-collection-*-setup function.
2018-10-16 09:22:31 +02:00
Pierre Neidhardt 66ae22f276 Update ambrevar's email address 2018-08-27 10:42:28 +02:00
James Nguyen 1177456348 Require evil-collection instead of evil
Remove declare-function workaround.
2018-06-19 18:14:50 -07:00
James Nguyen 04268dcadc Remove .el in declare-function 2018-06-08 10:32:02 -07:00
James Nguyen 36f56362cc Add declare-functions for evil-collection-define-key
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!
2018-06-08 10:18:17 -07:00
Justin Burkett 29759c9419 Remove package arg from evil-collection-define-key
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.
2018-06-08 09:52:15 -07:00
Justin Burkett 0e7698dd1a Add support for {white,black}lists and binding records
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.
2018-06-08 09:52:15 -07:00
James Nguyen 93b73fe463 Add a temporary workaround for (#108) 2018-03-30 19:11:15 -07:00