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

273 Commits

Author SHA1 Message Date
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