diff options
| author | duianto <otnaiud@gmail.com> | 2021-05-07 12:40:17 +0200 |
|---|---|---|
| committer | Youmu <condy0919@gmail.com> | 2021-05-08 01:41:05 +0800 |
| commit | 23c60d576cf2ca4e931ca43815ceccc3f98acec1 (patch) | |
| tree | f0ed5befca7bde06cc4959e0e6f853f845235445 /modes/magit | |
| parent | d6107b2c8ee063fa6252853385e617cac37f4ee5 (diff) | |
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
https://github.com/magit/magit/commit/c3135cdb23e223ebf8f3c802616ebb81103fdbe9
Define magit-dispatch as a transient command
https://github.com/magit/magit/commit/dde9a5b77a483fa35d932aecd22c1a4c954ce77e
And make the docstring more readable,
with the related key and command on the same line.
Diffstat (limited to 'modes/magit')
| -rw-r--r-- | modes/magit/evil-collection-magit.el | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/modes/magit/evil-collection-magit.el b/modes/magit/evil-collection-magit.el index 663c268..f0bed0e 100644 --- a/modes/magit/evil-collection-magit.el +++ b/modes/magit/evil-collection-magit.el @@ -65,13 +65,14 @@ magit-submodule-list-mode-map)) (defcustom evil-collection-magit-use-y-for-yank t - "When non nil, replace \"y\" for `magit-show-refs-popup' with -\"yy\" for `evil-collection-magit-yank-whole-line', `ys' -`magit-copy-section-value', \"yb\" for -`magit-copy-buffer-revision' and \"yr\" for -`magit-show-refs-popup'. This keeps \"y\" for -`magit-show-refs-popup' in the help -popup (`magit-dispatch-popup'). Default is t." + "When non nil (Default is t), +replace \"y\" for `magit-show-refs' with +\"yy\" for `evil-collection-magit-yank-whole-line', +\"ys\" for `magit-copy-section-value', +\"yb\" for `magit-copy-buffer-revision' and +\"yr\" for `magit-show-refs'. +This keeps \"y\" for `magit-show-refs', +in the help popup (`magit-dispatch')." :group 'magit :type 'boolean) |
