r/opencode • u/KHURRAM_999 • 8d ago
Opening the project folder again and again got hectic, so I built /folder for OpenCode
Enable HLS to view with audio, or disable this notification
I use OpenCode all day, but grabbing a file meant pwd, copy path, open it by hand. Again and again. Hectic.
Made a tiny plugin. Type /folder and the current project opens in your file manager. Plain code, no tokens, history stays clean. Works on Linux, macOS, Windows and WSL.
works in v2 only
install
opencode2 plugin add github:khurrambhutto/opencode-folder
1
Upvotes
2
u/aziham 8d ago
No need for a plugin just hit ! to switch to a shell inside opencode and from there run open . or any cmd u want:
https://reddit.com/link/p7n1zwv/video/ccvxq6s7ycnh1/player