Merge branch 'docs' of https://github.com/page-down/kitty
This commit is contained in:
commit
ac60715ee2
@ -27,7 +27,7 @@ line.
|
||||
|
||||
.. _include:
|
||||
|
||||
You can include secondary config files via the :code:`include` directive. If
|
||||
You can include secondary config files via the :code:`include` directive. If
|
||||
you use a relative path for :code:`include`, it is resolved with respect to the
|
||||
location of the current config file. Note that environment variables are
|
||||
expanded, so :code:`${USER}.conf` becomes :file:`name.conf` if
|
||||
|
||||
@ -3969,7 +3969,7 @@ when pressing specified shortcut keys. For example::
|
||||
|
||||
This will send "Special text" when you press the :kbd:`Ctrl+Alt+A` key
|
||||
combination. The text to be sent is a python string literal so you can use
|
||||
escapes like :code:`\\x1b` to send control codes or :code:`\\u21fb` to send
|
||||
escapes like :code:`\\\\x1b` to send control codes or :code:`\\\\u21fb` to send
|
||||
Unicode characters (or you can just input the Unicode characters directly as
|
||||
UTF-8 text). You can use ``kitty +kitten show_key`` to get the key escape
|
||||
codes you want to emulate.
|
||||
|
||||
@ -74,8 +74,8 @@ class SendText(RemoteCommand):
|
||||
short_desc = 'Send arbitrary text to specified windows'
|
||||
desc = (
|
||||
'Send arbitrary text to specified windows. The text follows Python'
|
||||
' escaping rules. So you can use escapes like :code:`\\x1b` to send control codes'
|
||||
' and :code:`\\u21fa` to send unicode characters. If you use the :option:`kitty @ send-text --match` option'
|
||||
' escaping rules. So you can use escapes like :code:`\\\\x1b` to send control codes'
|
||||
' and :code:`\\\\u21fa` to send unicode characters. If you use the :option:`kitty @ send-text --match` option'
|
||||
' the text will be sent to all matched windows. By default, text is sent to'
|
||||
' only the currently active window.'
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user