mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00:00
Allow ignoring failures when mapping remote control commands
This commit is contained in:
parent
664dd29970
commit
b5fa643c5d
2 changed files with 23 additions and 6 deletions
|
|
@ -276,6 +276,12 @@ Then pressing the :kbd:`F1` key will set the active window margins to
|
|||
:code:`30`. The syntax for what follows :ac:`remote_control` is exactly the same
|
||||
as the syntax for what follows :code:`kitty @` above.
|
||||
|
||||
If you wish to ignore errors from the command, prefix the command with an
|
||||
``!``. For example, the following will not return an error when no windows
|
||||
are matched::
|
||||
|
||||
map f1 !focus-window --match XXXXXX
|
||||
|
||||
.. note:: You do not need :opt:`allow_remote_control` to use these mappings,
|
||||
as they are not actual remote programs, but are simply a way to resuse the
|
||||
remote control infrastructure via keybings.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue