feat(nvim): add tmux provider support for OpenCode plugin#128
Open
pablon wants to merge 2 commits intoGentleman-Programming:mainfrom
Open
feat(nvim): add tmux provider support for OpenCode plugin#128pablon wants to merge 2 commits intoGentleman-Programming:mainfrom
pablon wants to merge 2 commits intoGentleman-Programming:mainfrom
Conversation
- Add automatic provider detection based on TMUX environment variable - Configure tmux provider with window focus and passthrough settings - Enhance snacks provider with auto_close and custom filetype - Set provider.enabled dynamically (tmux when inside tmux, snacks otherwise) - Configure tmux.allow_passthrough=false to prevent UI conflicts with nvim - Add explicit window.enter=true for both providers - Set filetype to 'opencode_terminal' for proper syntax highlighting Signed-off-by: pablon <73798198+pablon@users.noreply.github.com>
Signed-off-by: pablon <73798198+pablon@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Provider Selection (Line 106)
Provider Configuration (Lines 107-129)
TMUX Provider (Lines 110-116)
Snacks Provider (Lines 117-127)
Key Design Patterns
{ submit = true }to skip confirmation@this,@fileto specify scope<leader>a-><leader>ap-><leader>ap[e/f/d/r/t/o]Workflow Example
<leader>apeon selected codeprompt("explain", { submit = true })auto_close = true)PS: Aguante bigote!!! 👨🏻