summaryrefslogtreecommitdiff
path: root/kitty/kitty.conf
blob: bfd1500b62e52fb5d8a9767ee4b0a3764256a824 (plain)
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# ============================================================
# ~/.config/kitty/kitty.conf — gruvbox dark
# pairs with .tmux.conf
# ============================================================


# ------------------------------------------------------------
# font
# ------------------------------------------------------------
font_family      JetBrains Mono Regular
bold_font        JetBrains Mono Bold
italic_font      JetBrains Mono Italic
bold_italic_font JetBrains Mono Bold Italic

font_size        13.0

# fine-tune spacing
adjust_line_height  2
adjust_column_width 0
disable_ligatures   never


# ------------------------------------------------------------
# gruvbox dark colour scheme
# ------------------------------------------------------------

# background / foreground
background  #282828
foreground  #ebdbb2
cursor      #ebdbb2
background_opacity 0.88
# selection
selection_background #d79921
selection_foreground #282828

# url underline
url_color #83a598

# black
color0  #282828
color8  #928374

# red
color1  #cc241d
color9  #fb4934

# green
color2  #98971a
color10 #b8bb26

# yellow
color3  #d79921
color11 #fabd2f

# blue
color4  #458588
color12 #83a598

# purple
color5  #b16286
color13 #d3869b

# cyan / aqua
color6  #689d6a
color14 #8ec07c

# white
color7  #a89984
color15 #ebdbb2


# ------------------------------------------------------------
# cursor
# ------------------------------------------------------------
cursor_shape         block
cursor_blink_interval 0


# ------------------------------------------------------------
# scrollback
# ------------------------------------------------------------
scrollback_lines 10000
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER


# ------------------------------------------------------------
# window / padding
# ------------------------------------------------------------
window_padding_width    8
placement_strategy      center
hide_window_decorations no
remember_window_size    yes
initial_window_width    220c
initial_window_height   50c


# ------------------------------------------------------------
# tab bar — matches tmux status style
# ------------------------------------------------------------
tab_bar_edge             bottom
tab_bar_style            powerline
tab_powerline_style      slanted
tab_bar_background       #3c3836
tab_bar_margin_color     #3c3836

tab_title_template             "{index}:{title}"
active_tab_title_template      "{index}:{title}"

active_tab_foreground    #282828
active_tab_background    #83a598
active_tab_font_style    bold

inactive_tab_foreground  #a89984
inactive_tab_background  #3c3836
inactive_tab_font_style  normal


# ------------------------------------------------------------
# bell
# ------------------------------------------------------------
enable_audio_bell no
visual_bell_duration 0.0


# ------------------------------------------------------------
# performance
# ------------------------------------------------------------
repaint_delay    10
input_delay      3
sync_to_monitor  yes
background_blur 19

# ------------------------------------------------------------
# mouse
# ------------------------------------------------------------
mouse_hide_wait       3.0
focus_follows_mouse   no
copy_on_select        clipboard


# ------------------------------------------------------------
# keyboard shortcuts
# ------------------------------------------------------------
# clear defaults
clear_all_shortcuts no

# copy / paste
map ctrl+shift+c  copy_to_clipboard
map ctrl+shift+v  paste_from_clipboard

# font size
map ctrl+shift+equal   change_font_size all +1.0
map ctrl+shift+minus   change_font_size all -1.0
map ctrl+shift+0       change_font_size all 0

# tabs
map ctrl+shift+t        new_tab_with_cwd
map ctrl+shift+w        close_tab
map ctrl+shift+right    next_tab
map ctrl+shift+left     previous_tab
map ctrl+shift+1        goto_tab 1
map ctrl+shift+2        goto_tab 2
map ctrl+shift+3        goto_tab 3
map ctrl+shift+4        goto_tab 4
map ctrl+shift+5        goto_tab 5

# windows (kitty splits — complement to tmux panes)
map ctrl+shift+enter    new_window_with_cwd
map ctrl+shift+]        next_window
map ctrl+shift+[        previous_window

# scrollback
map ctrl+shift+up       scroll_line_up
map ctrl+shift+down     scroll_line_down
map ctrl+shift+page_up  scroll_page_up
map ctrl+shift+page_down scroll_page_down
map ctrl+shift+home     scroll_home
map ctrl+shift+end      scroll_end

# reload config
map ctrl+shift+F5       load_config_file

map ctrl+shift+s launch  --title="ssh picker" --hold  bash ~/.config/kitty/ssh_picker.sh



# ------------------------------------------------------------
# shell integration
# ------------------------------------------------------------
shell_integration enabled