Repository navigation
Conversation
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.
Adds
tmux-vim, a plugin that drives bb from the keyboard in the style of tmux and vim:Ctrl-aby default) followed by one key, to move between panes, split, resize, zoom and close them, and to switch threads;Ctrl-h/j/k/lto move between panes and into the sidebar without the prefix;j,k,gg,G,/,:and more), active only while not typing;vto select,yto copy), and copy on mouse selection;Every key, setting and known limit is in
plugins/tmux-vim/README.md.The plugin is frontend only. A content script owns one capture-phase
keydownlistener and a small state machine; an app overlay publishes bb's React hooks to it and draws the chooser, the key help and the mode pill.server.tsonly declares the settings.What changes
plugins/tmux-vim/: the new plugin, with its tests, README,PLUGIN_OVERVIEW.mdand a skill..bb/plugins.json: registerstmux-vim, so--plugin tmux-vimworks.README.md: adds its row to the table..github/workflows/plugins.yaml: addstmux-vimto the plugins CI checks.Testing
plugins/tmux-vim:npm install --include=dev --legacy-peer-deps --no-audit --no-fund,npm run typecheckandnpm testpass (32 files, 2248 tests). Install scripts were skipped on my machine (--ignore-scripts); CI runs them.Open questions, and why this is a draft
@get-bb/plugin-sdk0.6.157 (bb 0.50.1), which is newer than every other plugin here. Itsenginesallow bb 0.49 and SDK 0.6.132 or later. Should the pin match whatbb-serverbundles?src/constants.ts. They were read from bb 0.49.0 and checked again against the 0.50.1 source, so a bb update can break individual keys.Ctrl-a,Ctrl-h/j/k/land plain letters while the cursor is not in a text field, so it should be something a person chooses to install. If plugins in this repo are installed for everyone, theenabledsetting should default to off.sdk.threads.openwithsplit: "down", which bb applies in every connected window. Split right stays local.🤖 Generated with Claude Code