summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2020-08-05 16:47:45 +0200
committerMikael Magnusson <mikachu@gmail.com>2020-08-16 18:04:43 +0200
commit841188439b1b93031b4d4cb195d50958fe88d6a4 (patch)
tree4099dc1d85a04eff1a7df88f5adc1afd4a48ca7e /Doc/Zsh
parentd877073959ba4b86da968f63be320875a0f0c2a7 (diff)
downloadzsh-841188439b1b93031b4d4cb195d50958fe88d6a4.tar.gz
zsh-841188439b1b93031b4d4cb195d50958fe88d6a4.tar.xz
zsh-841188439b1b93031b4d4cb195d50958fe88d6a4.zip
47306: edit-command-line: add editor style
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/contrib.yo6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 66e6bdc1e..bab1e3023 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -2472,6 +2472,12 @@ item(tt(edit-command-line))(
 Edit the command line using your visual editor, as in tt(ksh).
 
 example(bindkey -M vicmd v edit-command-line)
+
+The editor to be used can also be specified using the tt(editor) style in
+the context of the widget. It is specified as an array of command and
+arguments:
+
+example(zstyle :zle:edit-command-line editor gvim -f)
 )
 tindex(expand-absolute-path)
 item(tt(expand-absolute-path))(