summaryrefslogtreecommitdiffstats
path: root/.config/kitty/kitty.conf
blob: 0ab2d3533dcdfb64032dbb330153f3281568f3ef (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
# vim:fileencoding=utf-8:ft=kitty:foldmethod=marker

#: Fonts {{{ --> Ligature Support

font_family      Iosevka
bold_font        Iosevka Bold
italic_font      Iosevka Italic
bold_italic_font Iosevka Bold Italic

font_size 10.0

adjust_line_height  0
adjust_column_width 0

box_drawing_scale 0.001, 1, 1.5, 2
disable_ligatures always

#: }}}

#: Cursor customization {{{

cursor_shape block
cursor #00F2FF
cursor_text_color background

cursor_blink_interval     0

#: }}}

#: Scrollback {{{

scrollback_lines 2000
wheel_scroll_multiplier 5.0

#: }}}

#: Mouse {{{

url_color #2aa889
url_style curly
open_url_with brave
mouse_map ctrl+shift+left release grabbed,ungrabbed mouse_click_url

#: }}}

#: Terminal bell {{{
enable_audio_bell no
visual_bell_duration 0.0
#: }}}

#: Window layout {{{

remember_window_size  no
initial_window_width  80c
initial_window_height 24c

window_padding_width 0.0
window_margin_width 5.0

#: }}}

#: Tab bar {{{

tab_bar_edge bottom
tab_bar_style separator
tab_separator " ┇"

active_tab_foreground   #d5c4a1
active_tab_background   #504945
active_tab_font_style   italic
inactive_tab_foreground #a89984
inactive_tab_background #7c6f64
inactive_tab_font_style normal

#: }}}

#: Color scheme {{{

# moonfly
# https://github.com/bluz71/vim-moonfly-colors/blob/master/terminal_themes/kitty-theme.conf
# background #080808
# foreground #b2b2b2
# cursor #9e9e9e
# color0 #373c40
# color1 #ff5454
# color2 #8cc85f
# color3 #e3c78a
# color4 #80a0ff
# color5 #d183e8
# color6 #7ee0ce
# color7 #de935f
# color8 #f09479
# color9 #f74782
# color10 #42cf89
# color11 #cfcfb0
# color12 #78c2ff
# color13 #ae81ff
# color14 #85dc85
# color15 #e2637f
# selection_background #b2ceee
# selection_foreground #080808

#: }}}

#: Advanced {{{
editor nvim
#: }}}

#: Keyboard shortcuts {{{

kitty_mod ctrl+shift

map shift+enter send_text all \x1b[13;2u
map ctrl+enter send_text all \x1b[13;5u

#: Clipboard {{{

map kitty_mod+c  copy_to_clipboard
map kitty_mod+v  paste_from_clipboard
map kitty_mod+s  paste_from_selection
map shift+insert paste_from_selection
map kitty_mod+o  pass_selection_to_program

#: }}}

#: Scrolling {{{

map kitty_mod+up        scroll_line_up
map kitty_mod+k         scroll_line_up
map kitty_mod+down      scroll_line_down
map kitty_mod+j         scroll_line_down
map kitty_mod+page_up   scroll_page_up
map kitty_mod+page_down scroll_page_down
map kitty_mod+home      scroll_home
map kitty_mod+end       scroll_end
map kitty_mod+h         show_scrollback

#: }}}

# }}}