kitty: add search

This commit is contained in:
end-4
2025-06-01 21:33:20 +02:00
parent 368c7c3cea
commit 1380696977
3 changed files with 371 additions and 9 deletions
+12 -9
View File
@@ -2,8 +2,9 @@
font_family JetBrains Mono Nerd Font
font_size 11.0
# Cursor shape
# Cursor
cursor_shape beam
cursor_trail 1
# Padding (why weird value? consistency with foot)
window_margin_width 21.75
@@ -14,20 +15,22 @@ confirm_os_window_close 0
# Use fish shell
shell fish
# Copy for normies
map ctrl+c copy_or_interrupt
# Copy
map ctrl+c copy_or_interrupt
# Search
map ctrl+f launch --location=hsplit --allow-remote-control kitty +kitten search.py @active-kitty-window-id
map kitty_mod+f launch --location=hsplit --allow-remote-control kitty +kitten search.py @active-kitty-window-id
# Scroll & Zoom
map page_up scroll_page_up
map page_down scroll_page_down
# Zoom
map ctrl+plus change_font_size all +1
map ctrl+equal change_font_size all +1
map ctrl+kp_add change_font_size all +1
map ctrl+minus change_font_size all -1
map ctrl+underscore change_font_size all -1
map ctrl+kp_subtract change_font_size all -1
map ctrl+0 change_font_size all 0
map ctrl+kp_0 change_font_size all 0
# Cursor trail
cursor_trail 1