Commit Graph

21 Commits

Author SHA1 Message Date
Pierre Neidhardt 66ae22f276 Update ambrevar's email address 2018-08-27 10:42:28 +02:00
Justin Burkett 2d4ebf596e Convert evil-collection-inhibit-insert-state to function
Move to evil-collection.el. Make requires consistent across all package
files. Delete evil-collection-util.el.
2018-06-30 10:05:52 -07: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
Pierre Neidhardt 114b2ae5fc Normalize mark bindings 2018-02-27 09:19:36 +01:00
Pierre Neidhardt dd69b1916d buff-menu: Use kbd 2018-02-24 15:35:42 +01:00
James Nguyen edc5b357dd Buff-menu: Tweak a few keys
Moved b -> X to be more in line with IBuffer.
Added f/e/b. Still not sure why we need to bind these manually..
2018-01-28 12:04:35 -08:00
James Nguyen 12eb0ffe1f Buff-menu: Clear alignment of quotes 2018-01-28 11:58:26 -08:00
James Nguyen b7b1a6c295 Buff-menu: Require evil 2018-01-28 11:50:32 -08:00
James Nguyen 71fe3bfccc Buff-menu: Tweak 2018-01-28 11:50:26 -08:00
James Nguyen 8e531ff597 Buff-menu: Add version check at keybinding level 2018-01-28 11:49:26 -08:00
James Nguyen 3638274575 Buff-menu: Format 2018-01-28 11:46:25 -08:00
Maximiliano Sandoval 5f31466067 Added version check and minor fixes
TODO: See why some normal-state keys are not getting loaded (e.g. `v`
and `k`), then remove `evil-add-hjkl-bindings` and some redundant
bindings.
Added the correct prefix to functions and definitions.
Changed `v` and `V` to `gv` and `gV`.
2018-01-28 11:39:19 -08:00
Maximiliano Sandoval 59097e17ff Added keys and unmark-all
Added keys, fixed others like "go" and "gO". I also taken some
functions from emacs upstream.
2018-01-28 11:39:19 -08:00
Maximiliano Sandoval a3876e6869 Added more keys
The function `evil-collection-Buffer-menu-unmark-all` has to be
defined. There was a " " that I did not want to include so I could
bound "SPC" elsewhere.
2018-01-28 11:39:19 -08:00
James Nguyen 602d24f07d Add skeleton for buff-menu binding 2018-01-27 15:47:44 -08:00