aboutsummaryrefslogtreecommitdiffstats
path: root/modules/terminal/kitty/kitty.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/terminal/kitty/kitty.conf')
-rw-r--r--modules/terminal/kitty/kitty.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/terminal/kitty/kitty.conf b/modules/terminal/kitty/kitty.conf
new file mode 100644
index 0000000..c55fbce
--- /dev/null
+++ b/modules/terminal/kitty/kitty.conf
@@ -0,0 +1,17 @@
+# Keep normal clicks for selection and prompt placement; Ctrl+click opens links.
+mouse_map left click ungrabbed mouse_handle_click selection prompt
+mouse_map ctrl+left click grabbed,ungrabbed mouse_handle_click link
+
+# Vim-style navigation between Kitty windows in the current tab.
+map ctrl+shift+h neighboring_window left
+map ctrl+shift+j neighboring_window bottom
+map ctrl+shift+k neighboring_window top
+map ctrl+shift+l neighboring_window right
+
+# Line scrolling
+map ctrl+shift+j scroll_line_down
+map ctrl+shift+k scroll_line_up
+
+# Page scrolling (half-page / full-page)
+map ctrl+shift+u scroll_page_up
+map ctrl+shift+d scroll_page_down