From 135066f38c912694fce56d71cbea30b52f7ca60e Mon Sep 17 00:00:00 2001 From: pagedown Date: Fri, 4 Feb 2022 23:26:46 +0800 Subject: [PATCH] Add default launch action for ssh links --- kitty/open_actions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kitty/open_actions.py b/kitty/open_actions.py index 5d5278b31..58d6c0308 100644 --- a/kitty/open_actions.py +++ b/kitty/open_actions.py @@ -243,6 +243,10 @@ action launch --type=os-window $EDITOR $FILE_PATH protocol file mime image/* action launch --type=os-window kitty +kitten icat --hold $FILE_PATH + +# Open ssh URLs with ssh command +protocol ssh +action launch --type=os-window ssh $URL '''.splitlines()))