From 7a68bbae2a94e975aaae3ebefd8845e200610367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Dudr?= Date: Tue, 25 Jul 2023 13:22:24 +0200 Subject: [PATCH] kitty: man --- dot_config/kitty/open-actions.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dot_config/kitty/open-actions.conf b/dot_config/kitty/open-actions.conf index ee380a9..089c67d 100644 --- a/dot_config/kitty/open-actions.conf +++ b/dot_config/kitty/open-actions.conf @@ -4,7 +4,14 @@ protocol file fragment_matches [0-9]+ action launch --type=overlay nvim +${FRAGMENT} ${FILE_PATH} +protocol man +action launch --type=overlay nvim man://${URL_PATH} + # Open text files without fragments in the editor protocol file mime text/* action launch --type=overlay nvim ${FILE_PATH} + +protocol file +mime text/html +action launch --type=overlay w3m ${FILE_PATH}