Commit Graph

987 Commits

Author SHA1 Message Date
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 458d6bd0f2 Tweak how annalist records bindings in evil-collection-define-operator-key 2021-02-04 02:39:46 -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 c02184f2fc Factor out binding implementation from evil-collection-define-key 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 1b86bac736 Readme: Add unimpaired setting 2021-02-03 11:44:17 -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
James Nguyen 1d87b81c1d Indent 2021-02-02 18:04:53 -08:00
James Nguyen 7fd63406cf Readme: Tweak and mention #196 (#196) 2021-02-01 23:40:58 -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 ee41c6f2ae Format 2021-01-31 20:17:17 -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