1
0
mirror of https://github.com/jojojames/evil-collection.git synced 2024-06-28 07:40:50 +02:00
Commit Graph

337 Commits

Author SHA1 Message Date
Tom Klaver
7a2851e648 Tide/references mode: Go to reference at cursor
Current implementation seems to only work for the first reference in a file. This patch should fix that.
2021-05-26 10:34:35 +08:00
condy
33bcc7f40c unimpaired: fix define-minor-mode 2021-05-22 04:08:41 +08:00
tpeacock19
d576c49e04 update evil-collection-consult--mark-candidates 2021-05-18 22:24:10 -07:00
Jelle Licht
496550d8dd Add readonly-bindings to vc-dir-mode 2021-05-15 22:20:16 +08:00
duianto
23c60d576c Docstring: evil-collection-magit-use-y-for-yank
`magit-show-refs-popup` and `magit-dispatch-popup`
have been renamed without "-popup".

Define magit-show-refs as a transient command
c3135cdb23

Define magit-dispatch as a transient command
dde9a5b77a

And make the docstring more readable,
with the related key and command on the same line.
2021-05-08 01:41:05 +08:00
condy
1fb8a2ab2e org-present: keymap changes
fix #469
2021-05-05 22:41:37 +08:00
Arif Er
8244f8806e Changed binding for jump 2021-05-04 20:55:29 -07:00
Arif Er
5aae7fc1ea Refurbished keybindings for reftex-toc 2021-05-04 20:55:29 -07:00
Arif Er
0b88a434c0 Added help prompt for reftex-toc (with comments) 2021-05-04 20:55:29 -07:00
Rudi Grinberg
db89792629 Fix Jd binding
`prodigy-jump-dired` does not exist. `prodigy-jump-file-manager` is
likely the intended function.
2021-05-04 00:00:58 -07:00
Andrew Psaltis
09b165d4c2 Magit: Properly format rebase instructions when commentChar is "%"
This change adjusts the formatting of the instructions in the `git-rebase`
buffer to allow them to be properly formatted when git's `core.commentChar` is
set to `%`.  In particular, lines will look something like this:

```
%-8s p
```

The root cause seems to be the how the lines are constructed: comment characters
are directly added to the format string.  When it is `%`, `format` appears to
proceed until it finds the next `%` character, (corresponding to the `%` in
`%-8s`) above and prints it directly to the string rather than interpreting it
something to format.

This is fixed by constructing the format string with the comment character as an
argument to `format` rather than being added directly to the format string.

Fixes #468.
2021-04-24 16:26:15 -07:00
Ian Y.E. Pan
e32e871143 Fix escape in in emacs-state, yet preserving minibuffer quit functionality 2021-04-24 18:03:46 +08:00
condy
86923fc307 occur: add evil style bindings 2021-04-22 17:59:34 +08:00
condy
8fd97d973c grep: wgrep integration 2021-04-22 17:55:31 +08:00
condy
ca3d0bd0ad embark: initial support 2021-04-22 17:36:21 +08:00
condy
b6025cf9ea Newsticker: fix the C-j issue 2021-04-14 19:55:28 +08:00
Kira Bruneau
65766ad8c0 Magit: Keep bindings consistent with prefix key in magit-revert
"O" is used to launch `magit-reset`, not `magit-revert`. "_" and "-"
should be used for the suffix commands to be consistent with the
prefix key "_".
2021-04-13 23:35:26 -07:00
Vonfry
f2be912970 Fix mpdel playback next and previous 2021-04-01 18:12:14 +08:00
Elliott Shugerman
b45ec5b315 vterm | add change, change-line 2021-03-22 20:10:27 -07:00
condy
2d3d652cb5 Info: browse info like browser on macOS 2021-03-19 22:40:39 +08:00
condy
5009fcfe9e Info: Support digit arguments 2021-03-19 00:55:54 +08:00
condy
b5ade1850d Info: Support mouse 2021-03-19 00:43:58 +08:00
James Nguyen
0ee92688ea Lispy: Format 2021-03-01 17:24:54 -08:00
James Nguyen
c0cc37a260 Lispy: Make byte compiler happy 2021-03-01 17:13:23 -08:00
James Nguyen
3a5c4e0e2c Lispy: Macroexpand hydras and commit them to allow byte compilation 2021-03-01 16:57:04 -08:00
James Nguyen
eacf3688a2 Lispy: Decouple declare-functions from lispyville 2021-03-01 16:45:30 -08:00
Dave Aitken
334670e29d fix: don't set repeat with ]l and [l error jump 2021-02-08 22:29:44 -08:00
James Nguyen
2c0a09b193 Mu4e: Fix signature 2021-02-04 01:03:50 -08:00
James Nguyen
a3f8d1b4c9 Refactor menu-items to use evil-collection-define-operator-key 2021-02-03 21:08:35 -08:00
James Nguyen
e52dfbeb68 Add evil-collection-define-operator-key
This is for attaching additional keys to operator commands.

e.g. Add "f" to prefix/operator (evil-yank) "y" to get

"yf"

while still maintaining the other operator commands like "yy".
2021-02-03 21:08:35 -08:00
James Nguyen
61e5a5ba33 Add distel 2021-02-03 12:19:16 -08:00
James Nguyen
48d2b1ef6e Add find-references/find-usages type bindings
Since these bindings have a potential usage clash with "gr", we add an
additional option here to do disable for the case where the user wants to keep
"gr" in their non programming modes but don't want find-refs type keybindings in
their programming modes.

g? may be another good candidate for finding references.
2021-02-03 11:47:59 -08:00
James Nguyen
a615e4a7f6 Buff-menu: Bind j & k explicitly 2021-02-03 07:38:27 -08:00
James Nguyen
b1b04dd72b Pass: Add pass-edit 2021-02-03 00:11:35 -08:00
Trey Peacock
be33708835 internal function & mark ring fix
corrected global marker check in mark ring
2021-02-01 00:03:25 -08:00
Trey Peacock
3dc3c72a49 consult-evil-mark
Jump to evil markers in current buffer
2021-01-31 21:00:05 -08:00
James Nguyen
6bdbcccf1e Pass: Bind yf, yn and yu 2021-01-31 15:57:49 -08:00
James Nguyen
c20e043ec6 Pass: Add J for jumping 2021-01-31 15:55:23 -08:00
James Nguyen
e6824e2ad2 Magit: Rely on popup backup when reverting popups (#446) 2021-01-30 00:33:41 -08:00
James Nguyen
2bbaa52d22 Magit: Add submodule prefix back in after forge loads (#446) 2021-01-30 00:33:41 -08:00
Michael Lingelbach
be3e955f06 vterm: add additional evil bindings 2021-01-30 00:29:42 -08:00
James Nguyen
2cce30225b Company: Remove obsolete code 2021-01-28 23:49:48 -08:00
James Nguyen
0c0dcd7390 Company: Format 2021-01-28 23:47:45 -08:00
randy1burrell
6b9b8ccded squash! fix: Stop inhibiting company popup when not in evil-mode 2021-01-28 23:44:33 -08:00
randy1burrell
315a750576 refactor: Simplify condition in evil-collection-company-supported-p
The complicated condition in `evil-collection-company-supported-p` from the
previous commit got removed in favour of a new condition that check if
`evil-mode` is not active and returns true.
2021-01-28 23:44:33 -08:00
randy1burrell
a3aaa508f7 fix: Evil-collection inhibiting company popup
This update uses `evil-collection-company-supported-p` to handle the logic of
showing company completions when `evil-mode` is active/inactive and in a
supported buffer.

If applied, this commit will:
    * Help `evil-collection` to determine supported states when `evil-mode` is active/inactive
    * Fix the bug caused by `evil-collection-company-supported-p` where it inhibits company completions from showing due to not being in `evil-mode`
2021-01-28 23:44:33 -08:00
randy1burrell
7a4f8085f3 fix: Stop inhibiting company popup when not in evil-mode
Evil-collection package inhibits company from showing completions when evil-mode
is switched off. This commit will fix it and only activate evil-collection
advice for company-mode when in evil-mode.

If applied, this commit will:
    * Allow `company-mode` to show completions when not in `evil-mode`.
    * Only activate `evil-collection` advice for `company-mode` when in
    `evil-mode`.
    * Fixes #451.
2021-01-28 23:44:33 -08:00
James Nguyen
bd44a32e83 Magit: Declare more variables (#449) 2021-01-24 11:12:29 -08:00
Vonfry
953fe16e1b add mpdel evil keybinds 2021-01-24 11:05:35 -08:00
James Nguyen
323bb7d858 Add scroll-lock (#358) 2021-01-24 00:57:27 -08:00
Benjamin Motz
ef90687fe4 magit: (visual) set "y" to magit-copy-section-value 2021-01-24 00:17:49 -08:00
James Nguyen
ffbf149f0e Magit: Replace evil-define-key with evil-collection-define-key 2021-01-17 12:41:05 -08:00
James Nguyen
75ee9eea7b Magit: Add more maps for rotation (#433) 2021-01-17 12:41:05 -08:00
wangtianshu
2252aed88d add keybindings for mu4e-compose-mode 2021-01-18 00:29:35 +08:00
James Nguyen
a67450ff53 Sly: Advise sly-eval-print-last-expression
Credits to nnoodle for implementation.

For more details:
https://github.com/emacs-evil/evil-collection/pull/441
2021-01-14 22:41:03 -08:00
Noodles!
8b1bcd7e49 Add quit-window binding to sly-xref-mode 2021-01-12 01:56:47 -08:00
Davide Masserut
be07f6a290 elfeed: Bind q, ZQ, ZZ to elfeed-search-quit-window
elfeed binds `q` to `elfeed-search-quit-window` which saves the db and
quit the window. As today we only close the window which may lead to
data loss.
2021-01-10 23:10:30 +08:00
condy
e7be9f53a0 elisp-mode: Binds gz to ielm 2021-01-07 02:10:26 -08:00
Vonfry
f53ef08224 Replace ZZ to ebib lower 2021-01-04 22:37:26 -08:00
James Nguyen
6ac763fd88 Magit: Wrap rebase define-keys with (kbd)
Later we use lookup-key in this way:

(lookup-key aux-map (kbd (car cmd)))

which was slightly different from how we were defining the keymap which resulted
in M-j & M-k not being bound or displayed properly.
2021-01-04 22:34:39 -08:00
condy
0112d16f08 xref: Add bindings for xref--transient-buffer-mode 2021-01-04 14:00:08 -08:00
Jacob First
63a9dcb3ef outline: Optionally enable keybindings in Outline minor mode 2021-01-02 14:21:18 +00:00
Brian Leung
ac18f6cd44 consult: remove support for now-deleted commands 2021-01-01 18:23:25 -08:00
Benjamin Motz
4615b8ca45 magit: make gj/gk behave consistently
Both should do the same thing, which is magit-section-{forward,backward}-sibling.
2021-01-01 18:20:46 -08:00
Gerry Agbobada
16e14ea9c5 Put notmuch-common-keymap last
Since all the other maps in `evil-collection-notmuch-maps`
have notmuch-common-keymap as parent
https://git.notmuchmail.org/git?p=notmuch;a=blob;f=emacs/notmuch-hello.el;h=fa31694ff0f79a7f2781849394390a673f75aade;hb=HEAD#l651

When `evil-collection-setup-hook` runs, if it changes keymaps
using a `dolist` over `evil-collection-notmuch-maps`, then a binding might
see 2 changes at once.

See discussion here https://github.com/hlissner/doom-emacs/pull/4403#issuecomment-750907188
2020-12-27 10:57:01 +00:00
Abin Simon
92c8002214 Update notmuch binds to reflect changes in notmuch 2020-12-21 01:41:43 -08:00
Siddhartha
ae0eada98d drop copyright line as it's redundant 2020-12-20 13:28:55 -08:00
Siddhartha
66913666f6 additional bindings in ripgrep mode 2020-12-20 13:28:55 -08:00
Siddhartha
986aa9a7f1 add basic support for ripgrep 2020-12-20 13:28:55 -08:00
condy
f410043aa7 newsticker: add treeview bindings 2020-12-19 11:48:27 +01:00
condy
5151be9b63 dictionary: "n" should be evil-search-next 2020-12-18 10:49:30 +01:00
Benjamin Motz
f8ef7dd432 edebug: "h" should behave the same as j, k, l
j, k, l are used for navigation in edebug-mode and so should do h.
However, currently it performs "edebug-goto-here", which is also bound
to H.
2020-12-17 18:36:00 +01:00
condy
c9ccc3065f Suppress dictionary nonexistence error 2020-12-07 11:06:17 -08:00
Brian Leung
f9ef230569 consult: Add evil bindings 2020-12-06 18:43:33 -08:00
Siddhartha
69a530b5e4 use g? for dictionary-help 2020-12-06 18:40:59 -08:00
Siddhartha
bf01abdeef Add basic support for dictionary-mode 2020-12-06 18:40:59 -08:00
condy
ab5bb7c391 sh-script: add evil bindings 2020-12-03 19:00:52 -08:00
Siddhartha
efd510a352 go to next/previous result in occur mode with preview 2020-12-03 18:57:44 -08:00
James Nguyen
d8d499d9fc Prodigy: Fix c-l 2020-11-30 11:54:52 -08:00
James Nguyen
05ed92a129 Remove extra commas 2020-11-27 16:03:31 -08:00
James Nguyen
dc12892a1e Magit: Fix a few more cases where binds aren't set (#407) 2020-11-27 13:45:53 -08:00
Daniel Perez Alvarez
f4428c4f91 prodigy: add more keybindings to prodigy-view-mode from prodigy-mode 2020-11-25 13:17:56 -08:00
James Nguyen
2cf81f91ea Magit: Use kbd with S-SPC and S-DEL (#406) 2020-11-25 13:10:40 -08:00
James Nguyen
e24469514a Update latest changes to evil-magit
Fix test failure in when testing original section bindings:

+  `((,(copy-keymap magit-file-section-map) "\C-j" magit-diff-visit-worktree-file)
+    (,(copy-keymap magit-hunk-section-map) "\C-j" magit-diff-visit-worktree-file))
2020-11-24 12:00:03 -08:00
James Nguyen
eff6f710ef Port over evil-magit 2020-11-24 12:00:03 -08:00
condy
04df79eadc unimpaired: exchange line 2020-11-23 17:08:07 +01:00
Goderich
b6cc7c891f Fix require call 2020-11-18 16:03:37 -08:00
Goderich
b34516299c Add racket-describe
A help mode to look up Racket documentation inside Emacs.
2020-11-18 16:03:37 -08:00
condy
e134061f9e hackernews: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
18644e050c guix: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
9d7b7ac266 elfeed: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
c040729692 helpful: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
8f779d1e1e dashboard: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
3c68088f8a disk-usage: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
a0d44aebe5 calc: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
9d70a12276 process-menu: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
718962ed31 help: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
3eada62f93 transmission: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
990372da7f ztree: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
f992b37367 youtube-dl: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
6c318c7628 trashed: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
972176c14a proced: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
9cff50e3be info: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
c44afe69b1 eww: revamped via read-only bindings 2020-11-15 18:53:44 +01:00
condy
04110f090f read-only mode bindings 2020-11-15 18:53:44 +01:00
condy
6f0ac579aa org-present: remove tailing whitespaces 2020-11-15 18:46:12 +01:00
condy
faab70d5dc shortdoc: add evil bindings 2020-11-15 18:46:12 +01:00
condy
2f10de5f6d unimpaired: [b and ]b can be called with prefix arg 2020-11-14 19:45:20 +01:00
Pierre Neidhardt
8c256263ad helm: Bind minibuffer history command to M-p. 2020-11-13 11:31:53 +01:00
Morgan Smith
52b6479a8f compile: remove g binding
We have to remove this binding from all modes (instead of just the normal
mode) so that we don't fall back to the Emacs binding. Instead we will fall
through this keymap and use the bindings found on other keymaps
2020-10-23 08:40:30 +02:00
Morgan Smith
8370d6bd1c simple: remove bindings that are in the way 2020-10-23 08:40:30 +02:00
Morgan Smith
25af4855ea compile: remove unnecessary bindings 2020-10-23 08:40:30 +02:00
Morgan Smith
069ea1188e compile: Apply bindings to compilation-minor-mode-map
Before this change compilation bindings didn't work in grep-mode which inherits
compilation-minor-mode-map
2020-10-23 08:40:30 +02:00
Pierre Neidhardt
910c1f4507 company: Fix backward compatibility with 0.9.13. 2020-10-22 11:50:24 +02:00
condy
1357bb03e9 unimpaired: makes travis-ci happy 2020-10-21 15:33:48 +00:00
condy
3b6d033464 bookmark: {mark,unmark}-all 2020-10-21 15:33:18 +00:00
Morgan Smith
2a5785d053 gnus: update bindings
Remove binding from the "Z" key
Remove unnecessary bindings of "g?" to describe-mode
Change gnus-server-compact-server binding to "c"
Add binding for gnus-summary-help-map
2020-10-19 12:11:19 +00:00
Morgan Smith
26f08992ab gnus: tidy up bindings 2020-10-19 12:11:19 +00:00
condy
918f999417 indent: add evil style bindings for `indent-rigidly' 2020-10-17 08:51:13 +00:00
condy
2141f29c79 gnus: add topic commands
And refactor the summary-mode-map
2020-10-14 11:47:03 -07:00
Carla Cao
6f7fbac3de Add zmusic 2020-10-12 14:29:37 +00:00
Janfel
034124fb09 Remove broken (interactive) specs
Remove (interactive) specs of evil-collection-hungry-delete and evil-collection-hungry-delete-for-join as they break evil-collection-hungry-delete and evil-collection-hungry-delete-for-join when hungry-delete-mode is bound but not enabled.
2020-10-09 12:58:29 +00:00
Fredrik Bergroth
a21725fd32 eglot: update binding
eglot-help-at-point has been removed since:
a044dec7f9
2020-10-07 00:13:30 -07:00
condy
e3a521b7e5 gnus: R to reply in normal state.
In addition,

- Rebind gnus-summary-mail-forward from C-c C-f to cf
- Remove E gnus-article-read-summary-keys
2020-10-05 14:44:03 +00:00
condy
0945c13b5b gnus: refine and add gnus-bookmark keybindings 2020-10-04 10:15:07 -07:00
condy
a36f742c21 dired: dired-narrow integration 2020-10-02 07:33:01 +00:00
condy
3088a02106 tabulated-list: add more bindings 2020-10-02 07:21:11 +00:00
condy
3d01df0ba6 thread&timer-list: add evil bindings 2020-09-30 07:54:20 +00:00
condy
bddb53cdfc newsticker: add evil bindings 2020-09-22 15:20:08 +00:00
Carla Cao
49409b38c5 Add org-present 2020-09-12 10:43:39 +00:00
condy
82ebf71551 rg: add evil bindings 2020-09-11 16:34:54 -07:00
Kien Nguyen
f5a93379bc ec-company: showing popup only when in insertable state 2020-09-08 08:13:42 +00:00
Morgan Smith
7814771204 fix bindings for `buffer-menu' 2020-09-07 03:01:09 -07:00
condy
567ee24d44 finder: add evil bindings 2020-08-23 16:23:51 +00:00
condy
c3f684e5f1 xref: bind gr to xref-revert-buffer (introduced in Emacs 27.1) 2020-08-23 09:56:03 +00:00
condy
e34add195f tab-bar: add evil bindings 2020-08-23 09:37:11 +00:00
Brian Leung
c136589d95 ggtags: Make "gk" and "C-k" invoke 'previous-error 2020-08-08 08:50:21 +00:00
Pierre Neidhardt
d1ad840c69 image: Remove obsolete comment. 2020-08-05 18:24:54 +02:00
ngenisis
d59d241738 SPC, DEL, S-SPC scroll binds for DocView
Currently getting bound to image-scroll-up and image-scroll-down from evil-collection-image.el. Not sure if it is relevant, but evil-collection-image.el has a TODO referencing this closed issue: https://github.com/emacs-evil/evil-collection/issues/23
2020-08-05 18:24:05 +02:00
condy
fd7d4c0b2b osx-dictionary: Add evil bindings 2020-08-05 08:45:13 +02:00
Brian Leung
3e62b6b131 Remove underscore in argument to placate CI in evil-collection-eshell
evil-define-operator accesses the arguments of the operator it is
defining, regardless of whether they are used in any meaningful way.
2020-07-11 13:26:42 -07:00
Brian Leung
2e6a40974e Bind eshell-kill-input in Evil insert state 2020-07-11 13:26:42 -07:00
crocket
2762b00c47 Add g TAB as a substitute on terminal for Tab. 2020-07-11 11:55:34 -07:00
Dario Klingenberg
c68aed6a96 add cc and dd command to eshell (copying Doom's implementation) 2020-06-26 11:42:26 +02:00
condy
ce50304363 explain-pause-mode: add evil bindings 2020-06-25 12:08:57 -07:00
Nicolas Wavrant
4a1f92fba5 package-menu: add keybinding for package-menu-describe-package 2020-06-25 11:15:14 -07:00
condy
a4e568a821 magit-todos: supress the jT unbound warning 2020-06-20 14:14:13 +02:00
condy
a0de3a9cf3 calendar: Bind Org functions in calendar keymap 2020-06-18 11:28:43 -07:00
condy
39a38da4e1 unimpaired: support url encode/decode 2020-06-17 12:13:47 -07:00
condy
1bb4e590c2 elfeed: Bind TAB to move the point to the next link
Also fix package lint error, since an explicit dependency on cl-lib <= 1.0 is
not needed on Emacs >= 24.3.
2020-06-14 14:58:50 +02:00