From 96b60710b79ac71a37abb52825969037cdc007d2 Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 31 Aug 2022 14:22:43 +0200 Subject: [PATCH] kitty: migrate mouse *modifiers to mouse_map --- .config/kitty/kitty.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index e5cbff4..c123fd3 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -302,14 +302,17 @@ url_style curly #: The color and style for highlighting URLs on mouse-over. url_style #: can be one of: none, single, double, curly -open_url_modifiers kitty_mod - +# open_url_modifiers kitty_mod +mouse_map shift+left click grabbed,ungrabbed mouse_handle_click selection link prompt #: The modifier keys to press when clicking with the mouse on URLs to #: open the URL +# mouse_map left click ungrabbed no_op +#: disable opening of URLs with a plain click - not needed since click handler +#: pops up and asks what to do. + # open_url_with default open_url_with no_op -# mouse_map shift+left click grabbed,ungrabbed mouse_click_url #: The program with which to open URLs that are clicked on. The #: special value default means to use the operating system's default @@ -348,12 +351,14 @@ strip_trailing_spaces always #: value of smart will do it when using normal selections, but not #: rectangle selections. always will always do it. -rectangle_select_modifiers ctrl+alt +# rectangle_select_modifiers ctrl+alt +mouse_map ctrl+alt+left press grabbed,ungrabbed mouse_selection rectangle #: The modifiers to use rectangular selection (i.e. to select text in #: a rectangular block with the mouse) -terminal_select_modifiers shift +# terminal_select_modifiers shift +mouse_map shift+left press grabbed,ungrabbed mouse_selection normal #: The modifiers to override mouse selection even when a terminal #: application has grabbed the mouse