2022-09-21 03:43:59 +00:00
|
|
|
# https://github.com/catppuccin/kitty
|
|
|
|
include mocha.conf
|
2021-09-18 09:57:27 +00:00
|
|
|
|
2021-12-15 03:01:19 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/conf/#fonts
|
2023-11-14 07:06:04 +00:00
|
|
|
# kitty +list-fonts --psnames
|
2023-11-09 08:32:08 +00:00
|
|
|
font_family 0xProto
|
2024-02-13 16:53:06 +00:00
|
|
|
bold_font Maple Mono Bold
|
2024-01-27 18:55:13 +00:00
|
|
|
italic_font Victor Mono Italic
|
2024-02-08 17:29:35 +00:00
|
|
|
bold_italic_font IBM Plex Mono Bold Italic
|
2023-11-09 08:32:08 +00:00
|
|
|
font_size 14.0
|
2024-01-27 19:21:13 +00:00
|
|
|
|
|
|
|
# https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points
|
|
|
|
symbol_map U+E5FA-U+E6B1 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+E700-U+E7C5 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+F000-U+F2E0 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+E200-U+E2A9 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+F0001-U+F1AF0 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+E300-U+E3E3 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+F400-U+F532,U+2665,U+26a1 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+E0A0-U+E0A2,U+E0B0-U+E0B3 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+E0A3,U+E0B4-U+E0C8,U+E0CA,U+E0CC-U+E0D4 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+23FB-U+23FE,U+2B58 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+F300-U+F372 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+E000-U+E00A Symbols Nerd Font Mono
|
|
|
|
symbol_map U+EA60-U+EBEB Symbols Nerd Font Mono
|
|
|
|
symbol_map U+E276C-U+2771 Symbols Nerd Font Mono
|
|
|
|
symbol_map U+2500-U+259F Symbols Nerd Font Mono
|
2021-10-02 17:01:58 +00:00
|
|
|
|
2024-02-13 16:53:06 +00:00
|
|
|
font_features 0xProto -liga -calt
|
|
|
|
font_features MapleMono-Regular_Bold -liga -calt
|
2024-01-30 16:50:47 +00:00
|
|
|
|
2023-04-02 04:18:58 +00:00
|
|
|
modify_font cell_height 120%
|
|
|
|
|
2022-04-26 15:12:54 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/conf/#cursor-customization
|
|
|
|
cursor_shape beam
|
|
|
|
cursor_blink_interval 0
|
|
|
|
|
2022-09-21 03:18:06 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/conf/#scrollback
|
|
|
|
scrollback_pager_history_size 16
|
|
|
|
|
2021-12-17 03:45:17 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/conf/#mouse
|
|
|
|
copy_on_select yes
|
|
|
|
strip_trailing_spaces smart
|
|
|
|
|
2021-12-15 03:01:19 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/conf/#terminal-bell
|
2021-12-02 16:50:23 +00:00
|
|
|
enable_audio_bell no
|
|
|
|
|
2021-12-15 03:01:19 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/conf/#window-layout
|
|
|
|
remember_window_size no
|
2022-10-24 08:06:49 +00:00
|
|
|
initial_window_width 720
|
|
|
|
initial_window_height 480
|
2023-07-07 17:14:11 +00:00
|
|
|
window_padding_width 8
|
2023-10-28 19:46:18 +00:00
|
|
|
enabled_layouts splits:split_axis=horizontal
|
2021-12-15 03:01:19 +00:00
|
|
|
|
2022-09-21 03:18:06 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/conf/#tab-bar
|
|
|
|
tab_bar_align center
|
|
|
|
|
2022-06-26 17:58:17 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/conf/#advanced
|
2023-04-27 16:34:07 +00:00
|
|
|
allow_remote_control yes
|
|
|
|
listen_on unix:$TMPDIR/kitty
|
2022-06-26 17:58:17 +00:00
|
|
|
|
2021-12-15 03:01:19 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/conf/#os-specific-tweaks
|
2021-10-02 17:01:58 +00:00
|
|
|
macos_option_as_alt both
|
2021-12-15 03:01:19 +00:00
|
|
|
macos_quit_when_last_window_closed yes
|
2022-04-26 15:12:54 +00:00
|
|
|
|
2022-06-26 17:58:17 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/conf/#keyboard-shortcuts
|
2023-08-06 07:37:51 +00:00
|
|
|
# https://sw.kovidgoyal.net/kitty/actions/
|
2022-09-15 14:37:47 +00:00
|
|
|
map kitty_mod+t launch --cwd=oldest --type=tab --location=neighbor
|
|
|
|
map super+t launch --cwd=oldest --type=tab --location=neighbor
|
2022-06-26 17:58:17 +00:00
|
|
|
map kitty_mod+e open_url_with_hints
|
|
|
|
map super+e open_url_with_hints
|
2023-08-06 07:37:51 +00:00
|
|
|
|
|
|
|
# Sync with Zellij
|
2023-10-28 19:51:50 +00:00
|
|
|
map alt+n launch --cwd=oldest --location=vsplit
|
|
|
|
map alt+m launch --cwd=oldest --location=hsplit
|
2023-10-28 19:46:18 +00:00
|
|
|
map alt+p next_window
|
2023-08-06 07:37:51 +00:00
|
|
|
map alt+o launch --cwd=oldest --type=tab --location=neighbor
|
|
|
|
map alt+[ previous_tab
|
|
|
|
map alt+] next_tab
|
2023-11-02 02:55:27 +00:00
|
|
|
|
|
|
|
# Remove default
|
|
|
|
map cmd+r no_op
|