Skip to content

Conversation

@garbas
Copy link
Owner

@garbas garbas commented Jan 10, 2026

Summary

  • Add tmux-worktree-attach script with fzf picker (prefix+w) to attach to existing worktrees
  • Extract all tmux configuration to common_tmux.nix for better organization
  • Fix worktree scripts to work correctly from inside worktrees (use --git-common-dir)
  • Dim inactive panes with brighter background for better focus

Keybindings

  • prefix + W - Create new worktree (prompts for name)
  • prefix + w - Attach to existing worktree (fzf picker)

Test plan

  • Run prefix + W to create a new worktree
  • Run prefix + w to attach to an existing worktree
  • Verify inactive panes have slightly brighter background
  • Verify worktree creation works from inside another worktree

- Add tmux-worktree-attach script with fzf picker (prefix+w)
- Extract all tmux config to common_tmux.nix
- Fix worktree scripts to work from inside worktrees
  (use --git-common-dir to find main repo root)
@garbas garbas merged commit aa9d7c0 into main Jan 10, 2026
3 checks passed
@garbas garbas deleted the tmux-worktree-attach branch January 10, 2026 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants