fix: codespaces widgets and shortcuts

This commit is contained in:
2026-02-12 18:13:09 +00:00
parent 5efa129577
commit 27a8152c25
3 changed files with 177 additions and 39 deletions

View File

@@ -27,3 +27,20 @@ by invoking the `setup-new` script directly via `curl`:
# Run
curl -s https://raw.githubusercontent.com/andrejusk/dotfiles/HEAD/script/setup-new | bash
## Keyboard shortcuts
Custom zsh widgets bound in `.zshrc`:
| Key | Mnemonic | Action |
|-----|----------|--------|
| `^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 |
| `^O` | **O**pen | Open repo/PR/issues/actions in browser |
| `^P` | **P**roject | Switch to workspace project |
| `^S` | **S**ession | Browse & resume Copilot CLI sessions |
| `^Y` | **Y**ank stash | Browse git stashes with diff preview |