This commit is contained in:
2026-04-13 14:13:10 +03:00
parent e054b6b65f
commit cbf81265c4
10 changed files with 46 additions and 35 deletions
+17 -13
View File
@@ -69,28 +69,32 @@ focus_follows_mouse no
# Mouse actions {{{
clear_all_mouse_actions yes
# Click the link under the mouse or move the cursor
mouse_map left click ungrabbed mouse_handle_click selection link prompt
# Click the link under the mouse or move the cursor even when grabbed
mouse_map shift+left click grabbed,ungrabbed mouse_handle_click selection link prompt
# Click the link under the mouse cursor. Present because simple click based version has delay of click_interval
mouse_map ctrl+shift+left release grabbed,ungrabbed mouse_handle_click link
# Discard press event for link click
mouse_map ctrl+shift+left press grabbed discard_event
mouse_map middle release ungrabbed paste_from_selection
mouse_map left press ungrabbed mouse_selection normal
mouse_map ctrl+alt+left press ungrabbed mouse_selection rectangle
mouse_map left doublepress ungrabbed mouse_selection word
mouse_map left triplepress ungrabbed mouse_selection line
mouse_map ctrl+alt+left triplepress ungrabbed mouse_selection line_from_point
mouse_map right press ungrabbed mouse_selection extend
mouse_map shift+middle release ungrabbed,grabbed paste_selection
mouse_map shift+middle press grabbed discard_event
mouse_map shift+left press ungrabbed,grabbed mouse_selection normal
mouse_map ctrl+shift+alt+left press ungrabbed,grabbed mouse_selection rectangle
mouse_map shift+left doublepress ungrabbed,grabbed mouse_selection word
mouse_map shift+left triplepress ungrabbed,grabbed mouse_selection line
mouse_map ctrl+shift+alt+left triplepress ungrabbed,grabbed mouse_selection line_from_point
mouse_map ctrl+shift+left press ungrabbed,grabbed mouse_selection rectangle
mouse_map ctrl+shift+left doublepress ungrabbed,grabbed mouse_selection line_from_point
mouse_map middle release ungrabbed paste_from_selection
mouse_map shift+middle release ungrabbed,grabbed paste_selection
mouse_map shift+middle press grabbed discard_event
mouse_map right press ungrabbed mouse_selection extend
mouse_map shift+right press ungrabbed,grabbed mouse_selection extend
mouse_map ctrl+shift+right press ungrabbed mouse_show_command_output
# }}}
# }}}
@@ -221,7 +225,7 @@ background_opacity 0.65
# Advanced {{{
# shell .
editor nvim
# editor hx
# close_on_child_death no
# remote_control_password
# allow_remote_control no
@@ -278,7 +282,7 @@ map kitty_mod+u kitten unicode_input
map kitty_mod+c copy_to_clipboard
map kitty_mod+y open_url_with_hints
map kitty_mod+s launch librewolf --search "@selection"
map ctrl+alt+s launch --stdin-source=@selection --type=tab nvim
map ctrl+alt+s launch --stdin-source=@selection --type=tab hx
map kitty_mod+p kitten hints --type path --program yazi
map ctrl+alt+p kitten hints --type hyperlink --program yazi
map kitty_mod+/ show_kitty_doc overview
@@ -303,7 +307,7 @@ map ctrl+alt+up scroll_page_up
map ctrl+shift+alt+e scroll_end
map ctrl+shift+alt+i scroll_home
map ctrl+shift+alt+down scroll_end
map ctrl+shift+alt+up scroll_home
map ctrl+shift+alt+up scroll_home
map kitty_mod+z scroll_to_prompt -1
map kitty_mod+x scroll_to_prompt 1
@@ -373,7 +377,7 @@ map ctrl+alt+= goto_tab 100
# }}}
# Hints {{{
map kitty_mod+h>n kitten hints --type linenum nvim +{line} {path}
map kitty_mod+h>n kitten hints --type linenum hx {path}:{line}
# paste to cmd
map kitty_mod+h>w kitten hints --type word --program -
map kitty_mod+h>l kitten hints --type line --program -