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

494 Commits

Author SHA1 Message Date
Jakub Kadlcik
ac01ae2803 vterm: remove trailing whitespace 2022-06-04 09:49:17 -07:00
Jakub Kadlcik
2aad44d836 vterm: when deleting command with dd, reset cursor after prompt
The original `evil-first-non-blank` isn't usable because the beginning
of the prompt is the first non-blank character. Strangely enough,
`vterm-beginning-of-line` didn't work either.
2022-06-04 09:49:17 -07:00
Quang Luong
f40a39e8a4 vterm: change "x" to evil-delete-char 2022-06-01 08:23:32 -07:00
Quang Luong
fe11bdd7dd Correct cursor position when evil-append in vterm 2022-06-01 08:22:50 -07:00
James Nguyen
ca5915c6de Bind [S-tab] instead 2022-05-30 22:37:09 -04:00
James Nguyen
e1bbf13194 [Corfu]: Fix more compile errors 2022-05-28 22:34:07 -04:00
James Nguyen
8b2a3327ad [Corfu]: Define var 2022-05-28 22:29:12 -04:00
James Nguyen
1166e5aa53 Add key themes to corfu
There should be no functional change to users here unless they set
evil-collection-corfu-themes to something other than '(default).

It might be worth making this key-theme a global custom variable
evil-collection-key-themes instead and using a namespaced corfu symbol
instead. e.g. (defcustom evil-collection-key-themes '(corfu-default)) so that
users will only have to know one variable to customize.
2022-05-28 21:56:01 -04:00
Vonfry
1d026ee065 Fix telega function names 2022-05-28 18:55:45 -07:00
Troy Hinckley
b59a6656f0 Use C-n and C-p for navigation in xref 2022-05-28 08:24:02 -07:00
James Nguyen
1f1f70b48b [Corfu] Use normal state after pressing ESC 2022-05-28 11:14:23 -04:00
Vonfry
45b0761b22 [mpdel] Modify song seek keybindings from three to two keys 2022-05-28 01:39:46 +08:00
James Nguyen
4336587f8e [Magit]: Add new customs to bind $ and 0 2022-05-23 17:35:41 -04:00
Frédéric Giquel
8187b18e8f dired: separate definition of dired-x bindings 2022-05-23 06:35:31 -07:00
James Nguyen
763e77f4b3 [xwidget] Silence compiler 2022-05-21 21:39:00 -04:00
James Nguyen
4bbe042e97 [xwidget] Add X (from vimium) to restore last closed tab 2022-05-21 21:35:30 -04:00
James Nguyen
377ef179b3 [xwidget] Tweak prompt when switching to tab 2022-05-21 21:35:30 -04:00
James Nguyen
e9faaac9f1 [xwidget] Add additional evil style bindings 2022-05-21 21:35:30 -04:00
James Nguyen
32584b7b46 [xwidget] Bind y to copy selection 2022-05-21 21:35:30 -04:00
James Nguyen
8e8bad58dd [xwidget] Tweak prompt when creating new tab 2022-05-21 21:35:30 -04:00
Alexis
8a85b46b60 evil-collection-ebuku: Add bindings for new functions.
* ebuku-copy-title
* ebuku-copy-index
2022-05-21 12:24:58 -07:00
James Nguyen
815408f8b8 Bind ; to lispy-commment in special mode 2022-05-21 09:43:59 -04:00
Dickby
11cfad9b3c Bind H to realgud:cmd-until-here 2022-05-16 23:54:05 +08:00
David Florness
9707efcae4 compile: bind TAB and S-TAB to compilation-{next,previous}-error
Currently, TAB is bound to evil-jump-forward, which isn't useful in
compile-mode.
2022-05-05 14:19:56 +08:00
Jakub Kadlcik
ca4c617224 vterm: fix paste-before and add paste-after command
The `vterm-yank` that is currently bound to `p` actually pastes before
the cursor, so I am rebinding it to `P` and adding a function for
pasting after the cursor.
2022-05-02 01:12:34 +08:00
Jakub Kadlcik
3d853e67af vterm: use ^ for jumping at the beginning of the command but after prompt
We have `0` for jumping at the very first character of the current
line and `^` for jumping to the non-blank character. It is useful to
keep this distinction in `vterm` buffers. However, it doesn't make
much sense in the command part. Because we have a prompt, both of the
commands jump to the very first character. I think it would be more
useful to change `^` to jump to the first non-blank character after
the prompt.
2022-05-02 01:11:49 +08:00
James Nguyen
c8366be124 Add some repolist bindings 2022-04-30 17:07:35 -04:00
Youmu
e696e1e925
Silence package-lint warnings
* magit-section
* org-roam
* No period in snippet
2022-04-29 17:48:57 +08:00
James Nguyen
b0c0bfb1c6 Add org-roam 2022-04-28 12:48:43 -04:00
James Nguyen
e26c869735 Add magit-section
(Hopefully this doesn't conflict with magit.)
2022-04-28 12:48:07 -04:00
Jakub Kadlcik
205d43f1a0 vterm: add vterm-substitute and vterm-substitute-line
I baesd the implementation on `evil-substitute` and
`evil-change-whole-line`.
2022-04-28 13:24:45 +08:00
msaher
694c1b4201
info: Add "g," as a keybinding for `Info-index-next' (#619) 2022-04-25 16:51:18 +08:00
condy
0488e2840f backspace for tty users 2022-04-24 03:27:25 +08:00
condy
63c6fd00c2 minibuffer: cc fix 2022-04-17 19:19:43 +08:00
0x28
572de25f93 Add bindings for the new help-mode commands 2022-04-15 12:42:23 -07:00
James Nguyen
6f99be20a3 Run emms setup hook later 2022-04-15 15:36:53 -04:00
James Nguyen
8d42153481 Delay running evil-collection-setup-hook for modes like eshell (#602) 2022-04-15 12:24:38 -07:00
James Nguyen
9f287eb937 Magit: Change motion states to normal 2022-04-14 11:16:09 -04:00
James Nguyen
4edcbf4cc2 Add keyword for vundo 2022-04-14 11:05:32 -04:00
James Nguyen
535ad8dc52 Add vundo
e.g.
(use-package vundo
 :ensure t
 :straight (vundo :type git :host github :repo "casouri/vundo")
 :commands (vundo)
 :config
 (setq vundo-compact-display t))
2022-04-14 11:00:51 -04:00
James Nguyen
646fbe11c8 Sort magit maps to allow key translation to work (#433) 2022-04-14 10:09:17 -04:00
James Nguyen
ceac1a9681 Add corfu (#552) 2022-04-13 22:50:36 -04:00
James Nguyen
7d593ab285 Add ZZ/ZQ bindings to eldoc & restclient 2022-04-13 11:32:02 -04:00
James Nguyen
d9b9381eb3 Add eldoc (#551) 2022-04-13 11:28:07 -04:00
condy
86abadd96c flymake: update copyright year 2022-04-12 14:46:58 +08:00
jgart
f016b5135f Adds goto next and previous flymake bindings 2022-04-12 14:07:45 +08:00
Ahnaf Al Rafi
4e9468d1db ebib: change mapping for "y" in ebib-entry-mode.
Change mapping for "y" in ebib-entry-mode to "ebib-copy-current-field-contents" instead of "ebib-copy-field-contents" since the latter is not a command.
2022-04-11 13:51:48 -07:00
Tianshu Wang
8342a50830
embark: add more keybinds to embark-collect-mode (#606) 2022-04-02 16:02:11 +08:00
condy
ecc4ecc288 magit: fix tests 2022-04-02 15:57:34 +08:00
Jonas Bernoulli
e557188692 Use transient's definition macros by their new names
See https://github.com/magit/transient/issues/192.
2022-03-14 08:59:04 -07:00
okamsn
a9c4545f41 Bind other Selectrum commands.
Bind commands:
- `selectrum-next-group`
- `selectrum-previous-group`
- `selectrum-goto-end`
- `selectrum-goto-beginning`
- `selectrum-kill-ring-save`
2022-03-06 14:09:36 +08:00
condy
017ec2a63d atomic-chrome: Initial support 2022-02-28 07:05:43 +08:00
Philippe Vaucher
2dc6b5e56a
docker: Update bindings according 2022-02-22 19:04:01 +08:00
condy
5881268e93 bookmark: bind 's' to bookmark-bmenu-search 2022-02-22 18:56:42 +08:00
Philippe Vaucher
b6d46d3fd2 Make ibuffer bindings consistent with dired 2022-02-21 12:14:51 +08:00
Brian Leung
260842f096 mu4e: use newly-renamed functions as aliases when appropriate
This accommodates everyone using a version of mu4e shipped with their
package manager's installation of mu.
2022-02-21 12:08:48 +08:00
DungxNguyen
081a9f423e
mu4e: update new function names of mu4e's main-action-str and main-view-queue 2022-02-17 02:57:59 +08:00
Frédéric Giquel
d5403bb112 forge: restore defaults bindings for magit-branch 2022-02-16 06:48:54 -08:00
okamsn
1959625fca Remap basic Evil character and line commands instead of listing key bindings.
Do this for Doc View mode and Image mode.
2022-02-09 13:37:03 +08:00
josephmturner
2e9ce571d2
simple-mpc: initial support (#588) 2022-02-08 20:12:35 +08:00
condy
e69abfcb1c dashboard: remove redundant bindings 2022-01-24 10:25:47 +08:00
Steven Allen
ffe4f66d43 Avoid binding escape to bury-buffer and quit-window
Escape usually means to:

1. Return to normal mode.
2. Abort the minibuffer.

By binding it to quit-window (or equivalent), hitting escape a few times
to exit a (potentially recursive) minibuffer, etc. can cause buffers to
vanish.

It's also:

1. Inconsistently applied.
2. Redundant with "q" (which is consistently applied).
2022-01-23 04:43:56 -08:00
condy
e8d1eb117a Use default v/V for magit revert action
Fixes #571

Co-authored-by: Micah Buckley-Farlee <micah@super.mx>
2022-01-23 15:03:13 +08:00
John McFarland
5cc50418d0 Set readonly bindings for compilation mode 2022-01-18 08:49:07 +08:00
condy
dbfe2d7d22 forge: compatible with MELPA stable version
Fix #576
2022-01-16 15:51:06 +08:00
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