2022-01-04 17:05:05 +01:00
|
|
|
# vim:fileencoding=utf-8:foldmethod=marker
|
|
|
|
|
|
|
|
#: Fonts {{{
|
2021-12-05 19:59:14 +01:00
|
|
|
|
2024-08-30 18:21:21 +02:00
|
|
|
font_family RobotoMono Nerd Font
|
2023-09-16 20:05:38 +02:00
|
|
|
font_size 9
|
2024-08-27 13:02:13 +02:00
|
|
|
# modify_font underline_thickness 2px
|
|
|
|
# modify_font underline_position 4px
|
2024-08-13 11:51:02 +02:00
|
|
|
disable_ligatures always
|
2021-12-05 19:59:14 +01:00
|
|
|
|
2022-01-04 17:05:05 +01:00
|
|
|
#: }}}
|
2021-12-05 19:59:14 +01:00
|
|
|
|
2022-01-04 17:05:05 +01:00
|
|
|
#: Cursor {{{
|
2021-12-05 19:59:14 +01:00
|
|
|
|
|
|
|
cursor_shape underline
|
|
|
|
cursor_beam_thickness 1.0
|
|
|
|
cursor_underline_thickness 0.5
|
|
|
|
|
2022-01-04 17:05:05 +01:00
|
|
|
#: }}}
|
|
|
|
|
|
|
|
#: Scrollback {{{
|
|
|
|
|
2021-12-05 19:59:14 +01:00
|
|
|
scrollback_lines 50000
|
|
|
|
|
2022-01-04 17:05:05 +01:00
|
|
|
#: }}}
|
|
|
|
|
|
|
|
#: Terminal bell {{{
|
|
|
|
|
2021-12-10 20:12:25 +01:00
|
|
|
enable_audio_bell no
|
2021-12-05 19:59:14 +01:00
|
|
|
|
2022-01-04 17:05:05 +01:00
|
|
|
#: }}}
|
|
|
|
|
|
|
|
#: Window layout {{{
|
2021-12-05 19:59:14 +01:00
|
|
|
|
2022-11-08 21:28:33 +01:00
|
|
|
enabled_layouts splits,vertical,fat,grid,horizontal,stack,tall
|
2022-03-12 19:46:25 +01:00
|
|
|
|
2022-10-01 13:46:18 +02:00
|
|
|
# resize_in_steps yes
|
2021-12-05 19:59:14 +01:00
|
|
|
remember_window_size no
|
2022-10-01 13:46:18 +02:00
|
|
|
initial_window_width 2110
|
|
|
|
initial_window_height 1160
|
2021-12-05 19:59:14 +01:00
|
|
|
active_border_color #C0C0C0
|
2023-09-15 21:17:18 +02:00
|
|
|
hide_window_decorations yes
|
2021-12-05 19:59:14 +01:00
|
|
|
|
2022-01-04 17:05:05 +01:00
|
|
|
#: }}}
|
|
|
|
|
2022-10-30 18:46:52 +01:00
|
|
|
#: Colorscheme {{{
|
|
|
|
|
2023-03-12 15:58:25 +01:00
|
|
|
#include color_schemes/tokyo_night_moon.conf
|
|
|
|
include color_schemes/github_dimmed.conf
|
2024-03-17 18:25:34 +01:00
|
|
|
#include color_schemes/rose-pine-moon.conf
|
2022-01-04 17:05:05 +01:00
|
|
|
|
2022-10-30 18:46:52 +01:00
|
|
|
#: }}}
|
|
|
|
|
2022-01-04 17:05:05 +01:00
|
|
|
#: Advanced {{{
|
2021-12-05 19:59:14 +01:00
|
|
|
|
2022-01-04 16:29:16 +01:00
|
|
|
shell_integration no-cursor
|
2021-12-05 19:59:14 +01:00
|
|
|
|
2022-01-04 17:05:05 +01:00
|
|
|
#: }}}
|
|
|
|
|
|
|
|
#: Maps {{{
|
2021-12-05 19:59:14 +01:00
|
|
|
|
2022-01-08 20:22:18 +01:00
|
|
|
map kitty_mod+y launch --stdin-source=@last_cmd_output --type=clipboard
|
|
|
|
map kitty_mod+f launch --type=overlay --stdin-source=@screen_scrollback fzf --tac --no-sort --no-mouse -i
|
|
|
|
map kitty_mod+h show_scrollback
|
2022-11-08 21:28:33 +01:00
|
|
|
map kitty_mod+enter launch --location=hsplit --cwd=current
|
|
|
|
map kitty_mod+o launch --location=hsplit --cwd=current
|
2024-02-10 13:39:41 +01:00
|
|
|
map kitty_mod+i launch --location=vsplit --cwd=current
|
2022-11-08 21:28:33 +01:00
|
|
|
map kitty_mod+up resize_window taller 3
|
|
|
|
map kitty_mod+down resize_window shorter 3
|
2024-02-10 13:39:41 +01:00
|
|
|
map kitty_mod+right resize_window wider 3
|
|
|
|
map kitty_mod+left resize_window narrower 3
|
2022-01-08 20:22:18 +01:00
|
|
|
map kitty_mod+x toggle_layout stack
|
2023-04-05 21:25:04 +02:00
|
|
|
# map alt+left previous_window
|
|
|
|
# map alt+up previous_window
|
|
|
|
# map alt+right next_window
|
|
|
|
# map alt+down next_window
|
|
|
|
|
|
|
|
# neovim integration https://github.com/knubie/vim-kitty-navigator
|
2023-12-17 14:44:39 +01:00
|
|
|
map alt+down kitten pass_keys.py bottom alt+down
|
|
|
|
map alt+up kitten pass_keys.py top alt+up
|
|
|
|
map alt+left kitten pass_keys.py left alt+left
|
|
|
|
map alt+right kitten pass_keys.py right alt+right
|
2023-04-05 21:25:04 +02:00
|
|
|
allow_remote_control yes
|
|
|
|
listen_on unix:@mykitty
|
|
|
|
|
2022-01-08 20:22:18 +01:00
|
|
|
map F1 launch --allow-remote-control kitty +kitten broadcast
|
2023-09-30 17:35:44 +02:00
|
|
|
map ctrl+alt+p kitten secrets.py "description" "Kitty password"
|
2025-01-12 16:12:32 +01:00
|
|
|
map kitty_mod+p>f kitten hints --type path --program @
|
2022-01-08 20:22:18 +01:00
|
|
|
map kitty_mod+p>l kitten hints --type line --program @
|
2025-01-12 16:12:32 +01:00
|
|
|
map kitty_mod+p>w kitten hints --type word --program @
|
2022-01-04 17:05:05 +01:00
|
|
|
|
|
|
|
#: }}}
|