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-09 08:32:08 +00:00
|
|
|
font_family 0xProto
|
|
|
|
font_size 14.0
|
2023-02-28 05:39:14 +00:00
|
|
|
# kitty +list-fonts --psnames
|
2021-10-02 17:01:58 +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
|
2022-09-21 03:18:06 +00:00
|
|
|
shell_integration disabled
|
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
|