aboutsummaryrefslogtreecommitdiffstats
path: root/kitty.conf
blob: b39ea4b12a8014dd765f7f901b2ec55fe2802b47 (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
# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
# SPDX-License-Identifier: GPL-2.0-only

enable_audio_bell yes
#visual_bell_duration 0.15
window_alert_on_bell yes
bell_path ~/.local/share/sounds/modern-minimal-ui-sounds/stereo/dialog-information.oga
command_on_bell sh -c 'notify-send -a kitty -i utilities-terminal -u critical -t 5000 "kitty: bell" "Attention from: ${KITTY_CHILD_CMDLINE:-a window}"'
font_size 15.0
cursor_shape beam
cursor_shape_unfocused block

# BEGIN_KITTY_FONTS
font_family      family="Inconsolata Nerd Font Mono"
bold_font        auto
italic_font      auto
bold_italic_font auto
# END_KITTY_FONTS

# startup session
startup_session session.conf

scrollback_lines 5000
scrollbar scrolled-or-hovered
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER

url_style curly
detect_urls yes
underline_hyperlinks hover
notify_on_cmd_finish invisible

# cursor trail
cursor_trail 200
cursor_trail_decay 0.1 0.4
cursor_trail_start_threshold 2

tab_bar_edge bottom
tab_bar_style powerline
tab_bar_align center
tab_powerline_style slanted

background_opacity 0.75
background_blur 30

allow_hyperlinks yes
shell_integration enabled

mouse_map left press ungrabbed mouse_selection drag_or_normal_select

draw_minimal_borders no
window_border_radius 6
padding_fill_strategy neighboring_cell

map f1 launch --location=hsplit --cwd=current --copy-colors
map f2 launch --location=vsplit --cwd=current --copy-colors
map f3 launch --cwd=current --type=tab --copy-colors
map f4 launch --type=os-window --copy-colors
map f5 launch --type=overlay vim /tmp/scratch

# Map Ctrl+PageUp/Down to previous/next tab
map ctrl+page_up prev_tab
map ctrl+page_down next_tab

# Move between panels using Alt + Arrow keys
map ctrl+down neighboring_window bottom
map ctrl+up neighboring_window top
map ctrl+left neighboring_window left
map ctrl+right neighboring_window right

# font size
map ctrl+plus change_font_size all +2.0
map ctrl+minus change_font_size all -2.0
map ctrl+backspace change_font_size all 0

# pywal colors
include current-theme.conf