This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "hooks": { | |
| "PreToolUse": [ | |
| { | |
| "matcher": "ExitPlanMode", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "cmux markdown open \"$(ls -t ~/.claude/plans/*.md | head -1)\"", | |
| "timeout": 5, | |
| "statusMessage": "Preview plan.md in cmux" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # ============================================================================= | |
| # difit-auto-detect.sh | |
| # Automatically detects git state and opens appropriate diff view | |
| # with difit in a cmux browser split pane. | |
| # | |
| # Dependencies: | |
| # - cmux https://cmux.app/ | |
| # - difit https://github.com/yoshiko-pg/difit | |
| # |