-
Notifications
You must be signed in to change notification settings - Fork 12
/
kitty.conf
127 lines (98 loc) · 3.32 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Config for [Kitty](https://sw.kovidgoyal.net/kitty/) with custom hotkeys, nicer color scheme and some useful tweaks
# Refer to [original documentation](https://sw.kovidgoyal.net/kitty/conf.html) for more options
# Use Fish shell
shell /usr/bin/fish
# The console editor [micro](https://micro-editor.github.io/) to use when editing the kitty config file or similar tasks.
editor micro
# Allow other programs to control kitty.
allow_remote_control yes
# The value of the TERM environment variable to set. Set for compatibility
term xterm-256color
# Font config
font_family JetBrains Mono
font_size 13.0
disable_ligatures always
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
# Do not open URLs just by a single click
mouse_map left click ungrabbed no-op
# The modifier keys to press when clicking with the mouse on URLs to open the URL
mouse_map ctrl+left click ungrabbed mouse_handle_click selection link prompt
# Disable the audio bell. Useful in environments that require silence.
enable_audio_bell no
# Draw only the minimum borders needed.
draw_minimal_borders yes
# The color for the border of the active window
active_border_color #eee
# Fade the text in inactive windows by the specified amount
inactive_text_alpha 0.6
# Which edge to show the tab bar on, top or bottom
tab_bar_edge top
# The tab bar style
tab_bar_style powerline
tab_powerline_style slanted
# Full width tab bar
tab_bar_background #999999
# Color theme: relaxed (see https://developer.run/36 about theming)
active_tab_font_style normal
active_tab_background #667a90
foreground #d9d9d9
background #353a44
color0 #151515
color8 #636363
color1 #bc5653
color9 #bc5653
color2 #909d63
color10 #a0ac77
color3 #ebc17a
color11 #ebc17a
color4 #6a8799
color12 #7eaac7
color5 #b06698
color13 #b06698
color6 #c9dfff
color14 #acbbd0
color7 #d9d9d9
color15 #f7f7f7
# Hotkeys
clear_all_shortcuts yes
# Copy paste consistent with other programs
map ctrl+shift+c no_op
map ctrl+c copy_to_clipboard
map ctrl+v paste_from_clipboard
map shift+insert paste_from_clipboard
# Send SIGINT (Ctrl+C) on ctrl+shift+c (see https://developer.run/36)
map ctrl+shift+c send_text all \x03
# F1, F3 to open current screen in editor (Sublime Text)
map f1 pipe @text overlay bash -c "tail -n 500 | tee /tmp/shell_contents && subl /tmp/shell_contents"
map f3 pipe @text overlay bash -c "tee /tmp/shell_contents && subl /tmp/shell_contents"
# Hotkeys: tabs/windows
map ctrl+` new_window_with_cwd
map ctrl+f4 close_window
map super+tab next_window
map alt+enter move_window_to_top
map ctrl+pgup prev_tab
map ctrl+pgdn next_tab
map ctrl+t new_tab !neighbor
map alt+right move_tab_forward
map alt+left move_tab_backward
map f2 set_tab_title
map shift+f6 set_tab_title
map ctrl+1 goto_tab 1
map ctrl+2 goto_tab 2
map ctrl+3 goto_tab 3
map ctrl+4 goto_tab 4
map ctrl+5 goto_tab 5
map ctrl+6 goto_tab 6
map ctrl+7 goto_tab 7
map ctrl+8 goto_tab 8
map ctrl+9 goto_tab 9
# Hotkeys: layout management
map alt+` next_layout
# Hotkeys: font size
map ctrl+equal change_font_size all +2.0
map ctrl+minus change_font_size all -2.0
map ctrl+0 change_font_size all 0
# Clear screen (universal, will work over ssh, python etc)
map ctrl+l send_text '\E[H\E[3J'
# No nagging about updates
update_check_interval 0