✨ Perfect man page viewer with optimal side-by-side layout

## Enhanced man function following Prime Directive principles
- **Durable**: Robust cross-terminal support (kitty/tmux/iTerm)
- **Thoughtful**: Optimal 60/40 split (~100 chars CLI, ~64 chars reading)
- **Lasting**: Clean code, proper error handling, graceful fallbacks

### Key Features
- Beautiful syntax highlighting with Nord theme
- Responsive width adaptation via MANWIDTH
- Kitty remote control with proper resize shortcuts
- Clean traditional appearance (no line numbers)
- Stays open until user dismisses

### Technical Improvements
- Uses /usr/bin/man explicitly to prevent recursion
- Proper environment detection and fallback chain
- Added kitty resize shortcuts to config
- Removed debug output for clean UX

### Files Updated
- shell/functions.zsh: Complete man() rewrite
- config/kitty/kitty.conf: Added resize shortcuts
- shell/aliases.zsh: Batman alias compatibility
- Cleanup of merged files and plugin updates

μέτρον γὰρ καὶ συμμετρία - measure, proportion, and what is fitting

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
David F Glidden
2025-07-29 21:44:41 +02:00
co-authored by Claude
parent 9d9c0ad241
commit e7bb361bd2
10 changed files with 327 additions and 403 deletions
+9 -2
View File
@@ -28,7 +28,7 @@ italic_font Iosevka Term SS08
bold_italic_font Iosevka Term SS08
# 16pt provides optimal readability on modern displays without strain
font_size 16.0
font_size 18.0
# Fallback fonts for symbols and special characters
# This ensures proper rendering of powerline, nerd font icons, and unicode
@@ -329,12 +329,19 @@ map cmd+k clear_terminal reset active
# Reload configuration
map kitty_mod+f5 load_config_file
# Window resizing - essential for split panes
map kitty_mod+left resize_window narrower
map kitty_mod+right resize_window wider
map kitty_mod+up resize_window taller
map kitty_mod+down resize_window shorter
map kitty_mod+home resize_window reset
#: }}}
# ═══════════════════════════════════════════════════════════════════════════════
# Design Rationale:
#
# 1. Font: Dank Mono chosen for clarity and tasteful ligatures
# 1. Font: Iosevka Term SS08 has ultra-consistent rhythm, beautiful slant, clear punctuation
# 2. Symbols: Comprehensive fallback chain for nerd fonts, powerline, unicode
# 3. Colors: Dracula theme for proven readability and wide tool support
# 4. Performance: Balanced settings that prioritize responsiveness