Commit Graph

16 Commits

Author SHA1 Message Date
James Nguyen ee2e2f9b7a Move [ ] to [[ ]] (#225) 2019-03-16 10:54:12 -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
Wade Berrier 5f0123e48f diff-mode: allow quitting with 'q'
Seems to be standard for bindings for other modes
2018-08-29 20:58:21 -07:00
Pierre Neidhardt 66ae22f276 Update ambrevar's email address 2018-08-27 10:42:28 +02:00
Pierre Neidhardt 5affbdb02c diff: Don't switch to read-only by default 2018-06-30 11:16:31 +02:00
Pierre Neidhardt 6a30d6b2ad diff: Only switch mode with read-only when in diff-mode 2018-06-28 14:41:12 +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
noctuid 1853b53a8d Add key translation functionality
Also add evil-collection-setup-hook. Fixes #5 and #98.
2018-03-23 14:22:06 +05:30
James Nguyen 6ddfc3f7ff Change url 2018-03-01 17:22:38 -08:00
Evgeni Kolev 7d2869c34b Remove debugs in evil-collection-diff-mode.el 2018-01-31 23:58:55 -08:00
Pierre Neidhardt c9d16517d9 diff-mode: Fix namespace 2017-12-07 10:57:39 +01:00
James Nguyen 9eb7d3db0d Change namespace to evil-collection 2017-12-06 17:50:37 -08:00