aboutsummaryrefslogtreecommitdiffstats
path: root/kitty.conf
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-23 12:32:31 +0200
committerDanilo M. <danix@danix.xyz>2026-09-23 12:32:31 +0200
commitb59aee53a6a3ed77d6524ea57f1268d54df0c319 (patch)
treebe14b385a543324295388bed90a49a2dddef1e56 /kitty.conf
downloadkitty-conf-b59aee53a6a3ed77d6524ea57f1268d54df0c319.tar.gz
kitty-conf-b59aee53a6a3ed77d6524ea57f1268d54df0c319.zip
Initial import of kitty config
Config moved here from ~/.config/kitty, which now symlinks to it. Cleaned up for kitty 0.49.0: drop invalid fold markers and unknown status/time options, fix cursor_trail_start_threshold spelling, replace deprecated scrollback_indicator_opacity with scrollbar scrolled-or-hovered. Adopt proportional splits, text drag selection, rounded borders and neighboring_cell padding fill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'kitty.conf')
-rw-r--r--kitty.conf78
1 files changed, 78 insertions, 0 deletions
diff --git a/kitty.conf b/kitty.conf
new file mode 100644
index 0000000..b39ea4b
--- /dev/null
+++ b/kitty.conf
@@ -0,0 +1,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
+
+