-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitty.conf
executable file
·50 lines (39 loc) · 1.38 KB
/
kitty.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# vim:fileencoding=utf-8:ft=conf
# OS
confirm_os_window_close -1
background_blur 50
scrollback_lines 10000
# Window
remember_window_size no
initial_window_width 100c
initial_window_height 26c
window_padding_width 4
# OS title bar
# wayland_titlebar_color system
# macos_titlebar_color system
hide_window_decorations yes
# Tab bar
bell_on_tab yes
tab_bar_edge bottom
tab_title_template {index}: {title}
focus_follows_mouse no
# Key mappings
map shift+page_up scroll_page_up
map shift+page_down scroll_page_down
map ctrl+shift+t new_tab_with_cwd
map ctrl+shift+enter new_window_with_cwd
# Mouse mappings - require cmd or ctrl click for opening links
mouse_map left click ungrabbed no-op
mouse_map ctrl+left click ungrabbed mouse_handle_click selection link prompt
mouse_map ctrl+left press ungrabbed mouse_selection normal
mouse_map cmd+left click ungrabbed mouse_handle_click selection link prompt
mouse_map cmd+left press ungrabbed mouse_selection normal
# Prevent cursor from hiding
mouse_hide_wait 0
## Search
map ctrl+f launch --type=overlay --stdin-source=@screen_scrollback zsh -c "fzf --no-sort --no-mouse --exact -i --tac | kitty +kitten clipboard"
map ctrl+/ launch --allow-remote-control kitty +kitten kitty_search/search.py @active-kitty-window-id
## tmux..ish binding
map ctrl+shift+z toggle_layout stack
map f1 toggle_layout stack
include current-theme.conf