Files
dotfiles/home/dot_config/kitty/private_kitty.conf

44 lines
1.7 KiB
Plaintext

# BEGIN_KITTY_THEME
# Dark Pride
include current-theme.conf
# END_KITTY_THEME
enable_audio_bell no
font_family GeistMono Nerd Font Mono
font_size 9.0
# Enable ligatures explicitly
disable_ligatures never
window_padding_width 3
# Disable command finish notifications (fixes cryptic "4;0;0" notifications)
notify_on_cmd_finish never
# Claude Code: Enable Shift+Enter for multi-line prompts
map shift+enter send_text all \n
# Copy last command output directly to clipboard
map ctrl+shift+o launch --stdin-source=@last_cmd_output --type=overlay bash -c "xclip -selection clipboard && echo 'Copied last command output to clipboard!'"
# Copy visible screen content to clipboard (works in any window including overlays)
map ctrl+shift+y launch --allow-remote-control --type=background bash -c "kitten @ get-text --match state:focused --extent screen | xclip -selection clipboard"
# Open last command output in Neovim for easy selection (starts in visual line mode)
map ctrl+shift+g launch --stdin-source=@last_cmd_output --type=overlay nvim -u NONE -c "luafile ~/.config/kitty/buffer-select.lua" -
# Open full scrollback in Neovim for easy selection (starts in visual line mode)
map ctrl+shift+f launch --stdin-source=@screen_scrollback --type=overlay nvim -u NONE -c "luafile ~/.config/kitty/buffer-select.lua" -
# Move current window to another tab interactively
map ctrl+shift+m detach_window ask
# Move current window to a new tab
map ctrl+shift+n detach_window new-tab
# Duplicate terminal in new tab with current working directory
map ctrl+shift+s launch --cwd=current --type=tab
# Duplicate terminal as split/window with current working directory
map ctrl+shift+alt+s launch --cwd=current