Commit Graph

429 Commits

Author SHA1 Message Date
condy 081e2ba130 Update pull request template 2022-01-14 14:33:04 +08:00
condy ed4986fc55 mpc: define evil-collection-mpc-setup 2022-01-14 14:15:51 +08:00
condy e1a3780ebd mpc: provide evil-collection-mpc 2022-01-14 10:58:52 +08:00
condy 3f5ff30b0e xwidget: mimic vimium 2022-01-14 10:47:18 +08:00
Michael Eliachevitch 0ce1ea96b4 Fix typo in docstring 2022-01-11 02:46:56 +08:00
Janek e6be41bed7 Fix C-u scroll in magit config 2022-01-04 21:29:02 +08:00
jgart 72735fb733 deadgrep: Add gj and gk bindings 2021-12-29 08:38:38 +08:00
Dominik Honnef adb7e1d15c notmuch: use notmuch-tree-archive-thread-then-next in tree view
Default notmuch keymaps bind A to
notmuch-tree-archive-thread-then-next in both notmuch-show-mode and
notmuch-tree-mode.
2021-12-28 21:40:37 +08:00
condy f31162b253 emoji: initial support 2021-12-19 23:27:54 +08:00
pspiagicw b2993138c0
Mpc mode (#568)
* Added MPC Mode Bindings

* Linting Changes for MPC Mode

* Added mpc-playlist command

* Swaped j/k for C-j/C-k for mpc mode.
2021-12-18 22:15:45 +08:00
pspiagicw 6d08edc318
company: Ctrl x bindings (#558)
* Added Ctrl-X Keybindings for Company Mode

* Linting Changes

* Added custom variable , removed company-dict function

* Added type to defcustom

* Fixed variable name

* Added declare-function and changed custom variable name

* Added declare-function and changed custom variable name

* Added declare-function for company-begin-backend
2021-12-18 17:52:31 +08:00
Vonfry 76157b95dd Add ebib-jump-to-entry 2021-12-17 16:35:11 +08:00
Philippe Vaucher dfd65acafe Bind evil-mc-cursors-map to `g.` 2021-12-17 14:17:18 +08:00
Dominik Honnef 30c851ef48 unimpaired: turn functions into proper motions
Use evil-define-motion macro, which sets :motion repeat, set :jump t,
and add support for counts.
2021-12-17 09:03:42 +08:00
Justin Burkett 88242de2a6 Prevent forge from binding default keys
evil-collection handles this, and the default bindings produce an error message
on startup.
2021-12-16 05:15:30 -08:00
pspiagicw 1b9d5c5d93 Change "gn"/"gp" to "gj"/"gk". 2021-12-09 06:19:37 +08:00
pspiagicw 297007d61d Added linting changes 2021-12-09 06:19:37 +08:00
pspiagicw c004fcc7db Added Smerge Mode Bindings 2021-12-09 06:19:37 +08:00
Sebastian Arlund Nørgaard f13e50462a consult: implement jump-list command 2021-12-07 02:00:29 +08:00
Sebastian Arlund Nørgaard f5cc6d53ec consult: remove unnecessary use of advice
Since the advice is only added for the duration of a function call we
can simply let-bind the overridden function instead.
2021-12-07 02:00:29 +08:00
condy 96ef16b3a0 eshell: remove M-h/M-u bindings
In most terminal, M-u/M-l can be used to convert cases of word
2021-11-20 12:08:54 +08:00
condy a81b6c8f55 eshell: escape doesn't move cursor back 2021-11-20 12:08:33 +08:00
condy 652d74acfb scheme: use standard keywords 2021-11-14 15:02:42 +08:00
condy 838f609899 scheme: initial support
Fix #546
2021-11-14 14:56:45 +08:00
Pavel Novichkov f74757550e Mu4e: Fix name of command for saving attachments 2021-11-12 13:02:50 +08:00
James Nguyen 33461aa545 Add support for forge 2021-11-11 12:33:37 -08:00
condy 9e47d61bdf org: initial support 2021-10-29 02:51:05 +08:00
Tianshu Wang 63d84ff4bd 2021-10-28 17:42:46 +08:00
condy 1d296af2ec markdown: bind RET to markdown-do 2021-10-24 22:17:03 +08:00
Tianshu Wang d0840ad465 Update evil-collection-vertico.el 2021-10-16 03:01:39 +08:00
Tianshu Wang 228db9d5f6 use correct function 2021-10-16 03:01:39 +08:00
Tianshu Wang 2185798025 use esc to quit vertico 2021-10-16 03:01:39 +08:00
Kisaragi Hiu 6709c1ec41 vertico: add initial support 2021-10-08 01:22:51 +08:00
condy bc5a02ed85 devdocs: bind C to devdocs-copy-url 2021-10-03 22:58:44 +08:00
Alexis 4ad1131fa1 evil-collection-ebuku: Add binding for `ebuku-copy-url`. 2021-10-01 20:09:00 +08:00
condy 03d80be41b consult: drop the redundant requires
All functions are autoloaded. Fix #539
2021-10-01 00:22:16 +08:00
condy 74f8c302ab package: bind package-browse-url when available 2021-09-27 04:19:11 +08:00
condy d46fd0fe5a diff-hl: initial support 2021-09-23 23:21:31 +08:00
Brian Leung 95b246e8fb beginend: fix autoload cookie 2021-09-22 18:38:00 +08:00
Brian Leung 7247e864fa beginend: evil-collection-beginend-maps -> [...]-modes, and iterate 2021-09-22 18:38:00 +08:00
condy dc2f7922df newsticker: use M-j/M-k to avoid confusion 2021-09-21 05:54:23 +08:00
condy d65bdedb52 devdocs: follow upstream 2021-09-19 22:58:53 +08:00
condy 1acc80b8bd calendar: setup org bindings on demand
Fix #518
2021-09-18 04:13:07 +08:00
Balaji Sivaraman a053a47b9e beginend: ensure num-prefixed motions do not break when enabled 2021-09-17 00:26:50 +08:00
Frédéric Giquel 40b097825d yaml: basic support 2021-09-16 16:58:13 +08:00
Brian Leung 8a75a03656 comint: Bind comint-kill-input to C-u
In Vim insert mode, C-u deletes to the beginning of the line, so we
make an analogous binding for comint buffers.
2021-09-12 16:59:27 +08:00
Balaji Sivaraman a3e7ad3b0d selectrum: add initial support 2021-09-12 16:21:12 +08:00
Balaji Sivaraman 124fcaf5e3 beginend: add basic support 2021-09-12 16:04:53 +08:00
Andrew Fontaine 836af920be mu4e: update binding for attachment actions
As part of the move to the gnus viewer for emails, the command name has been
changed from `mu4e-view-attachment-action` to `mu4e-view-mime-part-actions`.

https://github.com/djcb/mu/issues/2101#issuecomment-903074743
2021-09-12 13:59:40 +08:00
condy c6fad86d94 fanyi: follow upstream 2021-09-10 15:18:11 +08:00
condy 869d056dca dictionary: remove redundant evil bindings 2021-09-04 16:30:26 +08:00
condy 6c0b1f1c15 buff-menu: remove redundant evil bindings 2021-09-04 16:30:26 +08:00
MaxCan-Code 7c2cb5ad5a [Info]: fix bind syntax 2021-09-04 16:19:41 +08:00
MaxCan-Code c35694ec74 [Info]: remap `Info-history` and `Info-goto-node`
> "gd" does not match the rationale of "go to definition"
* `Info-goto-node` bound to `g` in emacs Info mode, bind to `g G` instead
* `L` taken by evil, `g L` for `Info-history` instead
2021-09-04 16:19:41 +08:00
MaxCan-Code d3b417af88 [Info]: remove normal mode override
no longer needed after https://github.com/emacs-evil/evil/issues/1488
2021-09-04 16:19:41 +08:00
MaxCan-Code 9ed1e40aa6 [Info]: remove visual mode override
no longer needed after https://github.com/emacs-evil/evil/issues/1488
2021-09-04 16:19:41 +08:00
mosquito-magnet 940dfe91aa fix use-z-for-folds also in magit-mode-map
Keybinding for magit-mode-map has also changed, Z is now magit-worktree
instead of magit-stash. Remap it to magit-stash. Magit-worktree still
has its old mapping to %.
2021-08-26 10:36:10 +08:00
mosquito-magnet 53a76e15df magit: fix use-z-for-folds
magit-worktree has been moved from "%" to "Z" in transient prefix
magit-dispatch in commit 9bec1c54ab0705eb68ae4aa6c8a0498999a018f6.

When mapping magit-stash to Z in magit-dispatch due to
evil-collection-magit-use-z-for-folds, first move magit-worktree back to
its original keybinding to avoid collision.
2021-08-26 10:36:10 +08:00
Kevin Brubeck Unhammer 47bc8571a6 Bind `[6' and `]6' to encode/decode base64
Closes #521
2021-08-26 10:23:45 +08:00
condy 0a836facbc Info: bind RET 2021-08-24 06:12:03 +08:00
condy 3d990ce63e markdown: basic support
close #516
2021-08-16 18:10:55 +08:00
condy 474ec76d96 calendar: fix undefined variable error 2021-08-16 15:52:23 +08:00
condy 19583f8dd8 fanyi: update commands with upstream 2021-08-16 06:10:17 +08:00
condy dbbe017404 fanyi: initial support 2021-08-11 01:15:48 +08:00
Ville-Markus Yli-Suutala ad26020295 debug: added bindings for toggling multi-line 2021-08-07 03:08:47 +08:00
Daanturo 2c6e47e009 Setup wgrep in grep for when featurep fails
Especially for straight.el.
2021-08-05 22:08:33 +08:00
condy 8d10ad4ea5 Drop Emacs 25 support 2021-07-21 22:54:48 +08:00
Brian Leung 14f1753979 consult: add :jump command property to consult-org-heading 2021-07-21 12:27:05 +08:00
Brian Leung f0b59e5466 consult: add :jump command property to consult-imenu 2021-07-21 12:27:05 +08:00
Vonfry 7908a308b3 Modify telega keybinding for copy and reply
yy and yl is conflicted with the evil yank commands.
Reply is more common than forword and r is reply in default of telega.
2021-07-18 12:41:02 +08:00
Davide Masserut 3bd5e90acc image: add zoom bindings 2021-07-15 23:52:26 +08:00
condy 9be3805b60 unimpaired: paste with preserving indentation 2021-07-10 08:58:12 +08:00
condy 151ff6126f unimpaired: goto prev/next SCM conflict marker 2021-07-10 08:08:41 +08:00
condy fd56723cb4 unimpaired: goto first/last error 2021-07-10 06:56:33 +08:00
condy 8213a9be94 magit: fix search repeat in magit-blame
close #502
2021-07-10 04:17:30 +08:00
condy 25c395a175 tuareg: initial support 2021-07-10 03:51:10 +08:00
condy 5bfc677de0 newsticker: fix C-j behavior 2021-07-10 00:41:20 +08:00
condy 6a23a59782 company: remove evil-collection-company-use-tng flag 2021-07-07 12:29:32 -07:00
condy d97e0ff4af magit: properly bind escape key 2021-07-08 02:27:39 +08:00
tpeacock19 d8d8b13c3e fix default mark-ring for evil-collection-consult-mark 2021-07-07 12:05:37 +08:00
Trey Peacock 85dcff8c08 update evil-collection-consult--mark-candidates for upstream change 2021-07-06 01:43:01 +08:00
Max Dupré a24168ffe3 [elfeed]: fix filter bindings
The function that resets the filter, "elfeed-search-clear-filter", was
not binded.
2021-07-01 18:24:17 +08:00
Nicholas Vollmer 6c97b0c186 Properly bind escape in magit-mode-map
Without using `kbd', each key in the string "<escape>" is interpreted as a
prefix key.
2021-06-28 18:26:48 +08:00
Vonfry 84e5531e26 Fix telega prefix map binding 2021-06-26 18:30:49 +08:00
condy c7f85d330b magit: interpret evil-toggle-key in the right way
fix #492
2021-06-26 03:29:08 +08:00
condy 5699d7b40b [emms]: declare emms-playlist-mode-yank 2021-06-23 03:47:29 +08:00
Sidharth Arya 7d698e34ce [emms]: fix emms paste command 2021-06-22 12:07:58 +08:00
Vonfry 2849c80c79 Add telega keybindings for evil 2021-06-18 00:11:51 +08:00
condy eaded9d762 devdocs: add devdocs-goto-target binding 2021-06-10 00:47:01 +08:00
condy 86b02f84a8 [devdocs]: initial support 2021-06-08 03:54:44 +08:00
Arif Er 3ed92cadda [transmission] Fix keybinding
`transmission-delete` and `transmission-remove` have different purposes and
should both be included as bindings.

`transmission-delete`: Removes torrent from Transmission client and unlinks files from drive.
`transmission-remove`: Removes torrent from Transmission client.

`I` has been set to inputting labels for torrents using `transmission-label`.
2021-06-02 23:59:04 +08:00
Dan Kessler a0833a092e reflex: update documentation
A recent commit remapped reflex-toc-jump from `gs` -> `J`, but the help didn't get updated (so it erroneously still suggests using `gs` to jump to section.
2021-05-28 00:24:36 +08:00
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