- Add .config/kitty/kitty.conf - setup.sh now sets kitty as default terminal via update-alternatives - README updated to include kitty.conf
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
# kitty config
|
|
# https://sw.kovidgoyal.net/kitty/conf/
|
|
|
|
# Basic settings
|
|
font_size 12.0
|
|
scrollback_lines 10000
|
|
|
|
# Bell
|
|
enable_audio_bell no
|
|
|
|
# Performance
|
|
repaint_delay 10
|
|
input_delay 3
|
|
sync_to_monitor yes
|
|
|
|
# Tab bar
|
|
tab_bar_edge top
|
|
tab_bar_style powerline
|
|
active_tab_font_style bold
|
|
inactive_tab_font_style normal
|
|
|
|
# vi-style scrollback
|
|
map ctrl+shift+p launch --stdin-source=@screen --stdin-add-formatting less -R
|
|
map ctrl+shift+h show_scrollback
|
|
|
|
# Copy/paste
|
|
map ctrl+shift+c copy_to_buffer primary clipboard
|
|
map ctrl+shift+v paste_from_clipboard
|
|
|
|
# Splits (tmux-style)
|
|
map ctrl+shift+enter new_window
|
|
map ctrl+shift+] launch --location=hsplit
|
|
map ctrl+shift+[ launch --location=vsplit
|
|
|
|
# Navigate splits
|
|
map ctrl+shift+h neighboring_window left
|
|
map ctrl+shift+l neighboring_window right
|
|
map ctrl+shift+k neighboring_window up
|
|
map ctrl+shift+j neighboring_window down
|
|
|
|
# Resize splits
|
|
map ctrl+shift+arrow_left resize_window narrower
|
|
map ctrl+shift+arrow_right resize_window wider
|
|
map ctrl+shift+arrow_up resize_window taller
|
|
map ctrl+shift+arrow_down resize_window shorter
|
|
|
|
map ctrl+shift+f show_scrollback
|
|
|
|
# Auto copy on select
|
|
copy_on_select yes
|