mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
more accurately describe editor behavior
This commit is contained in:
parent
a1fc383e6f
commit
0d55865545
3 changed files with 21 additions and 10 deletions
|
|
@ -52,6 +52,16 @@ Variables that influence kitty behavior
|
|||
files. Defaults to :file:`~/.config/kitty`. For full details of the config
|
||||
directory lookup mechanism see, :option:`kitty --config`.
|
||||
|
||||
.. envvar:: EDITOR
|
||||
|
||||
The terminal editor (such as `vi` or `nano`) for editing config files.
|
||||
Overridden by :envvar:`VISUAL`.
|
||||
|
||||
.. envvar:: VISUAL
|
||||
|
||||
The terminal editor (such as `vi` or `nano`) for editing config files.
|
||||
Takes precedence over :envvar:`EDITOR`.
|
||||
|
||||
|
||||
.. envvar:: VISUAL
|
||||
|
||||
|
|
|
|||
|
|
@ -17,9 +17,10 @@ Then hold down :kbd:`ctrl+shift` and click the name of the file.
|
|||
|
||||
|kitty| will ask you what you want to do with the remote file. You can choose
|
||||
to *Edit* it in which case kitty will download it and open it locally in your
|
||||
``EDITOR``. As you make changes to the file, they are automatically transferred
|
||||
to the remote computer. Note that this happens without needing to install *any*
|
||||
special software on the server, beyond ``ls`` that supports hyperlinks.
|
||||
:envvar:`EDITOR`. As you make changes to the file, they are automatically
|
||||
transferred to the remote computer. Note that this happens without needing
|
||||
to install *any* special software on the server, beyond ``ls`` that supports
|
||||
hyperlinks.
|
||||
|
||||
.. versionadded:: 0.19.0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue