From 841188439b1b93031b4d4cb195d50958fe88d6a4 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 5 Aug 2020 16:47:45 +0200 Subject: 47306: edit-command-line: add editor style --- Doc/Zsh/contrib.yo | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Doc/Zsh/contrib.yo') 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))( -- cgit 1.4.1