Add Kitty terminal optimizations for tmux #4

Open
ldraney wants to merge 4 commits from kitty-tmux-optimization into main
Owner

Summary

  • Add Kitty-specific tmux settings: true color (RGB), extended keyboard protocol, graphics passthrough, OSC 52 clipboard, and focus events
  • Set escape-time to 10ms to prevent swallowed escape sequences
  • Add undercurl and colored underline terminal overrides

Changes

  • .tmux.conf: Added Kitty terminal optimization block between mouse/drag bindings and OS detection section

Test Plan

  • Reload tmux config (tmux source ~/.tmux.conf)
  • Verify true color: printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n"
  • Verify extended keys work in Claude Code (all keybindings respond)
  • Verify undercurl renders in nvim (:hi SpellBad gui=undercurl)
  • Verify clipboard: yank in tmux copy-mode pastes to system clipboard

Review Checklist

  • No secrets committed
  • No unnecessary file changes
  • Commit messages are descriptive
  • Closes #3
## Summary - Add Kitty-specific tmux settings: true color (RGB), extended keyboard protocol, graphics passthrough, OSC 52 clipboard, and focus events - Set escape-time to 10ms to prevent swallowed escape sequences - Add undercurl and colored underline terminal overrides ## Changes - `.tmux.conf`: Added Kitty terminal optimization block between mouse/drag bindings and OS detection section ## Test Plan - [ ] Reload tmux config (`tmux source ~/.tmux.conf`) - [ ] Verify true color: `printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n"` - [ ] Verify extended keys work in Claude Code (all keybindings respond) - [ ] Verify undercurl renders in nvim (`:hi SpellBad gui=undercurl`) - [ ] Verify clipboard: yank in tmux copy-mode pastes to system clipboard ## Review Checklist - [ ] No secrets committed - [ ] No unnecessary file changes - [ ] Commit messages are descriptive ## Related Notes - Closes #3
Clipboard chain now tries wl-copy first on Linux, falls back to
xclip/clip.exe for X11/WSL2 compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
True color, extended keys, clipboard passthrough, undercurl support,
and escape-time tuning for better Claude Code and Kitty integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin kitty-tmux-optimization:kitty-tmux-optimization
git switch kitty-tmux-optimization

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff kitty-tmux-optimization
git switch kitty-tmux-optimization
git rebase main
git switch main
git merge --ff-only kitty-tmux-optimization
git switch kitty-tmux-optimization
git rebase main
git switch main
git merge --no-ff kitty-tmux-optimization
git switch main
git merge --squash kitty-tmux-optimization
git switch main
git merge --ff-only kitty-tmux-optimization
git switch main
git merge kitty-tmux-optimization
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ldraney/tmux-custom!4
No description provided.