parent
c0eae5d4e4
commit
5469a238de
@ -1961,9 +1961,7 @@ Default: +pass:[-1]+
|
|||||||
[[editor.command]]
|
[[editor.command]]
|
||||||
=== editor.command
|
=== editor.command
|
||||||
The editor (and arguments) to use for the `open-editor` command.
|
The editor (and arguments) to use for the `open-editor` command.
|
||||||
Several placeholders are supported. Placeholders are substituted by the
|
Several placeholders are supported. Placeholders are substituted by the respective value when executing the command.
|
||||||
respective value when executing the command.
|
|
||||||
|
|
||||||
`{file}` gets replaced by the filename of the file to be edited.
|
`{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.
|
`{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.
|
`{column}` gets replaced by the column in which the caret is found in the text.
|
||||||
@ -1976,7 +1974,9 @@ Default:
|
|||||||
|
|
||||||
- +pass:[gvim]+
|
- +pass:[gvim]+
|
||||||
- +pass:[-f]+
|
- +pass:[-f]+
|
||||||
- +pass:[{}]+
|
- +pass:[{file}]+
|
||||||
|
- +pass:[-c]+
|
||||||
|
- +pass:[normal {line}G{column0}l]+
|
||||||
|
|
||||||
[[editor.encoding]]
|
[[editor.encoding]]
|
||||||
=== editor.encoding
|
=== editor.encoding
|
||||||
|
@ -770,8 +770,20 @@ editor.command:
|
|||||||
desc: >-
|
desc: >-
|
||||||
The editor (and arguments) to use for the `open-editor` command.
|
The editor (and arguments) to use for the `open-editor` command.
|
||||||
|
|
||||||
|
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.
|
`{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.
|
||||||
|
|
||||||
|
|
||||||
editor.encoding:
|
editor.encoding:
|
||||||
type: Encoding
|
type: Encoding
|
||||||
default: utf-8
|
default: utf-8
|
||||||
|
Loading…
Reference in New Issue
Block a user