feat: zsh widgets, tmux session handling

This commit is contained in:
2026-02-13 12:00:02 +00:00
parent 61bf7b366b
commit 6461654bff
2 changed files with 72 additions and 12 deletions

View File

@@ -29,18 +29,20 @@ by invoking the `setup-new` script directly via `curl`:
## Keyboard shortcuts
Custom zsh widgets bound in `.zshrc`:
| Key | Mnemonic | Action |
|-----|----------|--------|
| `^A` | **A**ll commits | Git log browser with diff preview |
| `^B` | **B**ranch | Git branch checkout with log preview |
| `^E` | **E**dit | Find and edit file in `$EDITOR` |
| `^F` | **F**ind | Find in files (rg + fzf), open at line |
| `^G` | **G**o remote | SSH/codespace connect *(local only)* |
| `^J` | **J**ump | Zoxide directory jump |
| `^N` | **N**avigate | Tmux session create/switch |
| `^K` | **K**ommands | Command help lookup (tldr/man) |
| `^N` | **N**avigate | Tmux session create/attach |
| `^O` | **O**pen | Open repo/PR/issues/actions in browser |
| `^P` | **P**roject | Switch to workspace project |
| `^R` | **R**everse | Fuzzy search command history *(fzf built-in)* |
| `^S` | **S**ession | Browse & resume Copilot CLI sessions |
| `^X` | e**X**ecute | Process manager (fzf + kill) |
| `^Y` | **Y**ank stash | Browse git stashes with diff preview |