Commit Graph

712 Commits

Author SHA1 Message Date
Pierre Neidhardt f6f71a8d6f mu4e-conversation: Update attachment bindings following upstream changes 2018-06-25 15:42:51 +02:00
Pierre Neidhardt c27f6cf44b mu4e-conversation: Bind "a" to mu4e-view-action in tree view 2018-06-25 15:42:33 +02:00
Pierre Neidhardt 0a7a457dcb mu4e-conversation: Add scroll bindings 2018-06-24 18:03:04 +02:00
Pierre Neidhardt 142a2e3f50 mu4e-conversation: Add in-buffer reply bindings 2018-06-22 10:59:07 +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 e4d77d37eb Mu4e: Fix warnings 2018-06-19 18:14:35 -07:00
Pierre Neidhardt 4bd4d66eb0 mu4e-conversation: Init 2018-06-19 18:36:28 +02:00
Justin Burkett c621475b06 Improve evil-collection-describe-bindings
Use better version of the map active check and remove the old one. Don't print
out menu-items and lambdas.
2018-06-18 18:32:45 -07:00
Pierre Neidhardt 0687268149 mu4e: Fix namespace 2018-06-18 23:10:08 +02:00
Pierre Neidhardt ac21b8957c mu4e: Compile properly on systems where mu4e is not available 2018-06-17 10:58:36 +02:00
Pierre Neidhardt b1c851ad2d mu4e: Don't make state customizable 2018-06-16 19:21:11 +02:00
Pierre Neidhardt 87fa49031e readme: Remove references to evil-ediff and evil-mu4e now they have been merged 2018-06-16 19:12:17 +02:00
Pierre Neidhardt cdcda786b2 mu4e: Import from https://github.com/JorisE/evil-mu4e 2018-06-16 19:09:01 +02:00
Justin Burkett 2659ae505c Accept no bindings in evil-collection-define-key
They all might be filtered by the white and black lists.
2018-06-13 12:33:52 -07:00
Justin Burkett 1afea31ac6 Fix evil-collection-describe-bindings
Sort a copy of the stored bindings, because sort can modify the underlying
object.
2018-06-13 08:51:22 -07:00
Justin Burkett df269baf95 Enhance describe bindings functionality.
Rename evil-collection-describe-all-bindings to
evil-collection-describe-bindings. By default the function prints all known
evil-collection bindings. With a non-nil interactive argument, print only the
bindings corresponding to active modes in the current buffer.
2018-06-12 23:46:41 -07:00
Fredrik Bergroth 81311f26bf Fix eval-after-load call in ec-ediff-setup 2018-06-12 08:23:02 -07:00
Justin Burkett 44e2da380d Fix bugs from transition to new define-key
Mostly this fixes unquoted maps in the helm bindings.
2018-06-12 08:19:16 -07:00
Justin Burkett 0599d6f7cf Ediff: Use normal state 2018-06-11 08:48:16 +02:00
Justin Burkett 41b2c42986 Ediff: Merge from evil-ediff.el
Adds evil-collection-ediff.el

Ref #129
2018-06-11 08:48:16 +02:00
Pierre Neidhardt 2b603d365c Make it explicit that minibuffer-related packages (e.g. Helm) need the option 2018-06-11 08:18:54 +02:00
Fredrik Bergroth c6e052e443 Use quoted maps in ec-minibuffer-setup 2018-06-09 07:25:45 -07:00
Fredrik Bergroth 044ce128c1 Support anaconda-mode xref navigation
Latest anaconda has replaced view mode by an xref implementation, anaconda
stable still uses `anaconda-view-mode-map'.

See 0a9f518291
2018-06-09 07:25:45 -07:00
James Nguyen c5a92f206e Helm: Remove * in evil-collection-define-key 2018-06-08 10:32:22 -07:00
James Nguyen b587061fc3 Fix some byte compiler warnings 2018-06-08 10:32:13 -07:00
James Nguyen 04268dcadc Remove .el in declare-function 2018-06-08 10:32:02 -07:00
James Nguyen d44ced31bc Add some declare-functions 2018-06-08 10:23:27 -07:00
James Nguyen b6dd37aaa0 Daemons: Don't sharp quote as it makes byte compiler unhappy 2018-06-08 10:20:38 -07:00
James Nguyen a9a28769ec Fix some byte compiler warnings 2018-06-08 10:19:45 -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 8c2c1e96f6 Improve evil-collection-describe-all-bindings
Add state information. To do this, change the format of
evil-collection--bindings-record so that bindings for each map are stored in a
list of the form ((STATE KEY BINDING)).

Sort output on state then key.
2018-06-08 09:52:15 -07:00
Justin Burkett 29abe9692f Convert define-key calls to evil-collection-define-key ones 2018-06-08 09:52:15 -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 317e115a95 Fix printing keys with pipe char in evil-collection-describe-all-bindings 2018-06-08 09:52:15 -07:00
Justin Burkett f9c38d26ea Change name of evil-collection-bindings-record
Use two dashes for internal variable
2018-06-08 09:52:15 -07:00
Justin Burkett 0a913f9df6 Make requested changes to prior two commits
See #143
2018-06-08 09:52:15 -07:00
Justin Burkett e60988f625 Add evil-collection-describe-all-bindings
This is a simple function to write out known evil-collection bindings to a new
buffer.
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
Pierre Neidhardt bca66d36fd helm: Replace with-helm-buffer macro to fix potential byte-code version conflict 2018-06-06 12:55:29 +02:00
Pierre Neidhardt 92e01bdbc7 pdf: Bind "o" to 'pdf-outline 2018-06-06 12:39:59 +02:00
Kawin Nikomborirak 2915bd05c1 add TODO to find a root cause 2018-06-06 01:10:39 -07:00
Kawin Nikomborirak b84075fa58 add a count to pdf-tool's next-line-or-next-page
Though `pdf-view-next-line-or-next-page` and the `previous` version
both have number arguments, vi-style number arguments do not seem to
work. Even more strangely, if I remove the `dotimes` and change the
number arguments from `1` to `2` the pdf is still only scrolled
once. In `evil-emacs-state`, `M-2 <down>` works just fine in the
original version.
2018-06-06 01:10:39 -07:00
Kawin Nikomborirak 1eb7a1fe38 add proper escape to ivy minibuffer 2018-06-04 18:13:21 -07:00
Kawin Nikomborirak 9ef4a4037b Revert "add a count to pdf-tool's next-line-or-next-page"
This reverts commit b29e7470c8.
2018-06-04 18:13:21 -07:00
Kawin Nikomborirak 63b0feda98 add a count to pdf-tool's next-line-or-next-page
Though `pdf-view-next-line-or-next-page` and the `previous` version
both have number arguments, vi-style number arguments do not seem to
work. Even more strangely, if I remove the `dotimes` and change the
number arguments from `1` to `2` the pdf is still only scrolled
once. In `evil-emacs-state`, `M-2 <down>` works just fine in the
original version.
2018-06-04 18:13:21 -07:00
Vasilij Schneidermann 050af5d78f Abort company search with single <escape> 2018-05-29 18:10:24 -07:00
Pierre Neidhardt 105e01c6dd readme: Fix formatting of ~evil-collection-init~ example 2018-05-29 23:23:55 +02:00
James Nguyen 9a3657b84d Use prefix of file
Hope this doesn't break anything for anyone else!
2018-05-26 01:07:38 -07:00
James Nguyen 817bd9c32a Change name in comment 2018-05-26 01:07:30 -07:00
James Nguyen 7f6c7d849f Add headers 2018-05-26 01:07:22 -07:00