diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index d5511dff0..31aff3740 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -1913,7 +1913,14 @@ Default: +pass:[-1]+ [[editor.command]] === editor.command The editor (and arguments) to use for the `open-editor` command. -`{}` gets replaced by the filename of the file to be edited. +Several placeholders are supported. Placeholders are substituted by the +respective value when executing the command. + +`{file}` gets replaced by the filename of the file to be edited. +`{line}` gets replaced by the line in which the caret is found in the text. +`{column}` gets replaced by the column in which the caret is found in the text. +`{line0}` same as `{line}`, but starting from index 0 +`{column0}` same as `{column}`, but starting from index 0 Type: <>