Commit Graph

1159 Commits

Author SHA1 Message Date
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 6ef4dd509f remove dictionary dependency 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
Jonathan Lai 63ddc09f3d CI Badge: Travis -> Github Actions 2020-12-18 10:47:09 +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
Abin Simon 73aa9808dd Delete .travis.yml 2020-12-17 18:22:00 +01:00
Abin Simon a3482b5657 Add github action for CI 2020-12-17 18:22: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 9b5ae7b8f4 add dictionary as dependency 2020-12-06 18:40:59 -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 7233e60b62 Tweak readme to account for evil-magit's inclusion 2020-11-25 13:15:57 -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