summaryrefslogtreecommitdiffstats
path: root/.config/kitty/kitty.conf
blob: 1eb1ea4d9572f4925cc7e89f7031ec0c59b36aae (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
# 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_blink_interval     0
shell_integration no-cursor

#: }}}

#: Scrollback {{{

scrollback_lines 2000
wheel_scroll_multiplier 5.0

#: }}}

#: Mouse {{{

url_color #2aa889
url_style curly
open_url_with firefox
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 {{{

include rose-pine.conf

#: }}}

#: Advanced {{{
editor nvim
confirm_os_window_close 0
#: }}}

#: 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

#: }}}

# }}}