Commit Graph

697 Commits

Author SHA1 Message Date
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
Pierre Neidhardt 4fedc08c33 Calc: Fix extension loading 2018-05-24 18:36:00 +02:00
Jay Kamat 0b05e784ec Go to top/bottom of image for pdf files 2018-05-19 09:50:55 +02:00
Jay Kamat 37e03ec0cd Force isearch on for pdf files
Normal search does not do anything at all in pdf files, so force
isearch to be used (which is overridden in pdf tools)
2018-05-19 09:50:55 +02:00
Pierre Neidhardt 46d242d41e Emms: Fix "d" and "gd" bindings to dired 2018-05-14 22:11:31 +02:00
Pierre Neidhardt 400b9f0c4f slime: Bind digits in sldb 2018-05-11 10:40:35 +02:00
Pierre Neidhardt 6ff7e09883 readme: Remove beta warning 2018-05-11 10:34:56 +02:00
Jay Kamat eab93210c1 Convert evil-collection-evil-search-enabled to a function 2018-05-09 21:53:01 +02:00
Jay Kamat 50cfbcd985 Add pseudo folding to emms 2018-05-09 21:53:01 +02:00
Jay Kamat a055728ec5 Fix evil search in info mode 2018-05-09 21:53:01 +02:00
Pierre Neidhardt 212a80e53e Emms: Fix "n" / "N" bindings in browser 2018-05-06 11:22:51 +02:00
James Nguyen f40704a57f Match eldoc integration with evil
9589f2c099
2018-04-22 14:42:46 -07:00
James Nguyen d36f931be2 Add git-timemachine to list 2018-04-21 11:27:57 -07:00
James Nguyen 669fc380a7 Git-timemachine: Don't sharp quote 2018-04-21 11:27:17 -07:00
James Nguyen c64bc1b274 Guix: Add optional require 2018-04-21 11:27:07 -07:00
Dickby e619930693 Update evil-collection.el 2018-04-21 11:18:24 -07:00