-
Notifications
You must be signed in to change notification settings - Fork 3
/
kitty.conf
108 lines (82 loc) · 2.75 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# :vim set filetype=conf:
allow_remote_control yes
font_family JetBrainsMono Nerd Font
font_size 9.0
symbol_map U+f101-U+f208 nonicons
symbol_map U+EA60-U+EBF8 codicon
# enable_audio_bell no
bell_path pw-play /usr/share/sounds/freedesktop/stereo/bell.oga
bell_on_tab yes
single_window_margin_width -1
window_margin_width 20
remember_window_size yes
draw_minimal_borders yes
active_border_color #00AAAA
inactive_border_color #222222
tab_bar_style slant
tab_bar_background #212121
active_tab_foreground #212121
active_tab_background #FAFAFA
active_tab_font_style bold
inactive_tab_foreground #616161
inactive_tab_background #212121
inactive_tab_font_style normal
foreground #f8f8f2
background #0B0B14
cursor #F70067
color0 #262626
color8 #3E3D32
color1 #F70067
color9 #EF9A9A
color2 #64DD17
color10 #A9FF68
color3 #FFEB3B
color11 #FFF59D
color4 #1E88E5
color12 #4FC3F7
color5 #D484FF
color13 #9C27B0
color6 #4DD0E1
color14 #A1EFE4
color7 #BDBDBD
color15 #F8F8F8
dim_opacity 0.75
cursor_shape block
hide_window_decorations yes
macos_quit_when_last_window_closed yes
background_opacity 0.85
dynamic_background_opacity no
allow_remote_control yes
listen_on unix:/tmp/kitty
cursor_blink_interval 0
mouse_hide_wait 3
action_alias kitty_scrollback_nvim kitten ~/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py
scrollback_pager_history_size 1024
map kitty_mod+y kitty_scrollback_nvim
# Browse output of the last shell command in nvim
map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output
# Show clicked command output in nvim
mouse_map kitty_mod+right press ungrabbed combine : mouse_select_command_output : kitty_scrollback_nvim --config ksb_builtin_last_visited_cmd_output
map kitty_mod+enter launch --cwd=current
map kitty_mod+alt+t set_tab_title
map kitty_mod+t new_tab
map kitty_mod+d detach_tab # moves the tab into a new OS window
map kitty_mod+f detach_window # moves the window into a new OS window
map kitty_mod+alt+w close_window
map kitty_mod+w new_window
map kitty_mod+s launch --location=hsplit
map kitty_mod+x launch --location=vsplit
map kitty_mod+r layout_action rotate
map kitty_mod+h neighboring_window left
map kitty_mod+l neighboring_window right
map kitty_mod+k neighboring_window up
map kitty_mod+j neighboring_window down
map kitty_mod+alt+k move_window up
map kitty_mod+alt+h move_window left
map kitty_mod+alt+l move_window right
map kitty_mod+alt+j move_window down
# map kitty_mod+left resize_window narrower
# map kitty_mod+right resize_window wider
# map kitty_mod+up resize_window taller
# map kitty_mod+down resize_window shorter
enabled_layouts splits:split_axis=horizontal