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.
This commit is contained in:
duianto 2021-05-07 12:40:17 +02:00 committed by Youmu
parent d6107b2c8e
commit 23c60d576c
1 changed files with 8 additions and 7 deletions

View File

@ -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)