118 lines
4.2 KiB
Plaintext
118 lines
4.2 KiB
Plaintext
# ===========================================================================
|
|||
|
|
# kitty — Catppuccin Macchiato
|
||
|
|
# Font: Inconsolata Nerd Font
|
||
|
|
# Docs: https://sw.kovidgoyal.net/kitty/conf/
|
||
|
|
# ===========================================================================
|
||
|
|
|
||
|
|
# --- font ------------------------------------------------------------------
|
||
|
|
font_family Inconsolata Nerd Font
|
||
|
|
bold_font Inconsolata Nerd Font Bold
|
||
|
|
italic_font auto
|
||
|
|
bold_italic_font auto
|
||
|
|
font_size 12.0
|
||
|
|
|
||
|
|
# Inconsolata is a touch tight vertically; give the lines a little air.
|
||
|
|
adjust_line_height 110%
|
||
|
|
adjust_column_width 0
|
||
|
|
disable_ligatures never
|
||
|
|
|
||
|
|
# Fall back to the symbol font for glyphs Inconsolata Nerd Font lacks
|
||
|
|
symbol_map U+E000-U+E00A,U+EA60-U+EBEB,U+E0A0-U+E0C8,U+E0CA,U+E0CC-U+E0D7,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E6B1,U+E700-U+E7C5,U+F000-U+F2FF,U+F300-U+F375,U+F400-U+F533,U+F0001-U+F1AF0 Symbols Nerd Font Mono
|
||
|
|
|
||
|
|
# --- cursor ----------------------------------------------------------------
|
||
|
|
cursor_shape beam
|
||
|
|
cursor_beam_thickness 1.6
|
||
|
|
cursor_blink_interval -1
|
||
|
|
cursor_stop_blinking_after 15.0
|
||
|
|
|
||
|
|
# --- scrollback ------------------------------------------------------------
|
||
|
|
scrollback_lines 10000
|
||
|
|
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
|
||
|
|
wheel_scroll_multiplier 3.0
|
||
|
|
|
||
|
|
# --- mouse -----------------------------------------------------------------
|
||
|
|
mouse_hide_wait 2.0
|
||
|
|
url_color #8aadf4
|
||
|
|
url_style curly
|
||
|
|
open_url_with default
|
||
|
|
detect_urls yes
|
||
|
|
copy_on_select no
|
||
|
|
strip_trailing_spaces smart
|
||
|
|
focus_follows_mouse no
|
||
|
|
|
||
|
|
# --- performance -----------------------------------------------------------
|
||
|
|
repaint_delay 8
|
||
|
|
input_delay 2
|
||
|
|
sync_to_monitor yes
|
||
|
|
|
||
|
|
# --- bell ------------------------------------------------------------------
|
||
|
|
enable_audio_bell no
|
||
|
|
visual_bell_duration 0.0
|
||
|
|
window_alert_on_bell yes
|
||
|
|
bell_on_tab " "
|
||
|
|
|
||
|
|
# --- window ----------------------------------------------------------------
|
||
|
|
remember_window_size no
|
||
|
|
initial_window_width 110c
|
||
|
|
initial_window_height 30c
|
||
|
|
window_padding_width 10
|
||
|
|
window_margin_width 0
|
||
|
|
placement_strategy center
|
||
|
|
hide_window_decorations yes
|
||
|
|
confirm_os_window_close 0
|
||
|
|
|
||
|
|
# --- tabs ------------------------------------------------------------------
|
||
|
|
tab_bar_edge bottom
|
||
|
|
tab_bar_style powerline
|
||
|
|
tab_powerline_style slanted
|
||
|
|
tab_bar_min_tabs 2
|
||
|
|
tab_title_template "{index}: {title}"
|
||
|
|
active_tab_font_style bold
|
||
|
|
inactive_tab_font_style normal
|
||
|
|
|
||
|
|
# --- layouts ---------------------------------------------------------------
|
||
|
|
enabled_layouts splits,stack,tall,fat,grid
|
||
|
|
# i3 does the tiling; kitty splits are here for the occasional full-screen use.
|
||
|
|
|
||
|
|
# --- misc ------------------------------------------------------------------
|
||
|
|
shell .
|
||
|
|
editor .
|
||
|
|
allow_remote_control yes
|
||
|
|
listen_on unix:@kitty
|
||
|
|
term xterm-kitty
|
||
|
|
update_check_interval 0
|
||
|
|
clipboard_control write-clipboard write-primary read-clipboard read-primary
|
||
|
|
|
||
|
|
# ===========================================================================
|
||
|
|
# Keybindings
|
||
|
|
# ===========================================================================
|
||
|
|
kitty_mod ctrl+shift
|
||
|
|
|
||
|
|
map kitty_mod+c copy_to_clipboard
|
||
|
|
map kitty_mod+v paste_from_clipboard
|
||
|
|
map kitty_mod+t new_tab_with_cwd
|
||
|
|
map kitty_mod+w close_tab
|
||
|
|
map kitty_mod+right next_tab
|
||
|
|
map kitty_mod+left previous_tab
|
||
|
|
map kitty_mod+n new_os_window_with_cwd
|
||
|
|
|
||
|
|
map kitty_mod+enter launch --location=split --cwd=current
|
||
|
|
map kitty_mod+h neighboring_window left
|
||
|
|
map kitty_mod+j neighboring_window down
|
||
|
|
map kitty_mod+k neighboring_window up
|
||
|
|
map kitty_mod+l neighboring_window right
|
||
|
|
|
||
|
|
map kitty_mod+equal change_font_size all +1.0
|
||
|
|
map kitty_mod+minus change_font_size all -1.0
|
||
|
|
map kitty_mod+backspace change_font_size all 0
|
||
|
|
|
||
|
|
map kitty_mod+f show_scrollback
|
||
|
|
map kitty_mod+u scroll_page_up
|
||
|
|
map kitty_mod+d scroll_page_down
|
||
|
|
map kitty_mod+e open_url_with_hints
|
||
|
|
|
||
|
|
# ===========================================================================
|
||
|
|
# Colours
|
||
|
|
# ===========================================================================
|
||
|
|
include themes/catppuccin-macchiato.conf
|