Fix Yazi shell integration and enhance Kitty configuration

**Yazi Integration Fixes:**
- Fixed y() function in .zshrc to prevent shell exit when quitting Yazi
- Updated kitty-yazi.sh script to use AppleScript for proper tab creation
- Script now focuses existing Kitty window and creates new tab instead of new window

**Kitty Configuration Enhancements:**
- Added advanced font rendering with ligature support
- Improved cursor animations and visual effects
- Enhanced tab bar with powerline styling and fade effects
- Added background blur and better transparency handling
- Optimized performance settings (rendering delays, scrolling)
- Added comprehensive keyboard shortcuts for window/tab management
- Improved URL handling and text selection features
- Added notification system for long-running commands

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Naderer
2025-06-28 23:38:13 +02:00
parent 85ef8dca72
commit e715400806
9 changed files with 401 additions and 29 deletions

56
kitty/keymap.conf Normal file
View File

@@ -0,0 +1,56 @@
map cmd+1 goto_tab 1
map cmd+2 goto_tab 2
map cmd+3 goto_tab 3
map cmd+4 goto_tab 4
map cmd+5 goto_tab 5
map cmd+6 goto_tab 6
map cmd+7 goto_tab 7
map cmd+8 goto_tab 8
map cmd+9 goto_tab 9
map ctrl+tab next_window
map ctrl+shift+left resize_window narrower
map ctrl+shift+right resize_window wider
map ctrl+shift+up resize_window taller
map ctrl+shift+down resize_window shorter 3
map ctrl+left neighboring_window left
map ctrl+down neighboring_window down
map ctrl+shift+] next_tab
map ctrl+shift+[ previous_tab
# Window Management
map ctrl+shift+r rotate_windows
map ctrl+shift+l toggle_layout tall
map ctrl+enter launch --cwd=current
map ctrl+shift+enter launch --type=tab --cwd=current
map ctrl+shift+f toggle_fullscreen
map ctrl+shift+u input_unicode_character
# Reset window sizes
map ctrl+home resize_window reset
# Text Selection & Search
map ctrl+shift+f show_scrollback
map ctrl+shift+h show_last_command_output
map cmd+f launch --type=overlay --stdin-source=@screen_scrollback /usr/bin/less +G -R
# Font Size
map cmd+plus change_font_size all +2.0
map cmd+minus change_font_size all -2.0
map cmd+0 change_font_size all 0
# Background Opacity
map ctrl+shift+a>m set_background_opacity +0.1
map ctrl+shift+a>l set_background_opacity -0.1
map ctrl+shift+a>1 set_background_opacity 1
map ctrl+shift+a>d set_background_opacity default
# Advanced Features
map ctrl+shift+delete clear_terminal reset active
map ctrl+shift+f5 load_config_file
map ctrl+shift+f6 debug_config
# Scrollback
map ctrl+shift+s show_scrollback
map ctrl+shift+g show_last_command_output