Commit Graph

529 Commits

Author SHA1 Message Date
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
Dickby c5b270fb34 Create evil-collection-lsp-ui-imenu.el 2018-04-21 11:18:24 -07:00
William Carroll 3026a3831c Support additional keybindings
Instead of using hooks to ensure keybindings, use `evil-define-minor-mode-key`,
which combine `evil-define-key` and `evil-normalize-keymaps` to ensure that
bindings take effect for minor modes.

Per PR feedback, additional functionality is supported. Also, the require
statement is more defensive for those users that don't have `git-timemachine`
installed as a dependency.
2018-04-20 20:10:15 -07:00
William Carroll 799866e90e Add licensing information
Adds licensing copy, which was taken from another module in this repository.
2018-04-20 20:10:15 -07:00
William Carroll 9298988cc4 Support git-timemachine
Supports evil bindings for git-timemachine. On my machine, git-timemachine
starts with evil in normal mode, which is problematic when trying to access the
keybindings "n" and "p", which navigate to the next and previous revisions.
Additionally, normal mode eclispses "q", which exits the mode.

I tried using `(evil-set-initial-state 'git-timemachine-mode 'motion)`, but that
didn't work. I assume this is because `git-timemachine` is a minor-mode. To work
around this, I used `add-hook` to ensure motion mode was the initial state.

Once motion mode is the initial state, "p" and "q" become available.
Unfortunately, "n" is still not. To get around this, I used a buffer-local
binding in the local motion state map to map "n" appropriately. One known
shortcoming of this approach is that there is no cleanup done after exiting the
mode.

Any suggestions are eagerly welcomed. Forgive any crude techniques that I used
to get this functioning. I just wanted to broach the discussion with some of the
other maintainers to get some insights and hopefully augment my implementation
as needed.
2018-04-20 20:10:15 -07:00
Pierre Neidhardt aca031a7f3 eww: Free common Evil keys and bind "P" to -bookmark-yank 2018-04-16 14:16:01 +05:30
noctuid 502def36c0 Optionally provide modes to evil-collection-init 2018-04-15 10:04:42 -07:00
Dickby 0d3c3b7bc3 Update evil-collection-dired.el 2018-04-15 16:22:44 +00:00
Pierre Neidhardt 49cd031a28 Guix: Bind "gz" to guix-switch-to-repl 2018-04-11 13:40:38 +05:30
Pierre Neidhardt 464d35fec0 Geiser: Bind "tab"/"S-tab" to forward / backward button 2018-04-11 13:39:06 +05:30
Pierre Neidhardt 32a47d66cc Geiser: Bind "gj/gk", etc. to prompt navigation commands 2018-04-11 11:41:15 +05:30
Pierre Neidhardt 7afd9e5cfc Emms: Bind "<tab>" to emms-browser-toggle-subitems
This reflects Org mode.

Also bind "^" to emms-browser-move-up-level.
2018-04-10 09:15:05 +05:30
Pierre Neidhardt f1f68cb5b2 Emms: Bind "C-j" / "C-k" in browser and reverse "gj" / "gk" 2018-04-08 18:03:24 +05:30
Pierre Neidhardt 935e895cdf elfeed: Scroll with "SPC" 2018-04-05 19:02:23 +05:30
Pierre Neidhardt 5d25e08f94 Add guix 2018-04-03 16:15:35 +05:30
James Nguyen 2ebc7a93c6 Readme: Remove extra line 2018-03-31 10:22:50 -07:00
James Nguyen af8dfc4f7f Format readme with indent-region 2018-03-31 10:21:56 -07:00
James Nguyen 2b4e0d40b4 Tweak comments 2018-03-31 10:20:51 -07:00
James Nguyen 709391e121 Correct spelling 2018-03-31 10:20:51 -07:00