fix: improve tmux and Neovim navigation shortcuts#90
Merged
Conversation
Override choose-tree session shortcuts so entries after 9 use plain letter keys instead of tmux's default Meta-letter chords. This keeps prefix+s usable when terminal Meta handling does not select rows.
Add a jjsigns toggle that switches between the default @- base and the detected default branch for branch-level review. Refresh attached buffers after switching so gutter signs update immediately.
Send the ReferenceParams context required by kotlin-lsp and route Kotlin reference lookups through Telescope with auto-jump disabled. This keeps grr usable when multiple references are returned.
Initialize jjsigns against the detected default branch for jj buffers, falling back to @- when no branch can be resolved. Keep the toggle so working-copy signs remain available when refining a single jj change.
Add a jj-backed current-line blame fallback for jj workspaces where gitsigns does not attach. Use jj file annotate with a compatible template and keep <leader>tb as the toggle in jj buffers.
63443ab to
be90fee
Compare
7 tasks
5 tasks
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
prefix+stmux session chooser shortcuts so entries after 9 use plain letter keys instead of Meta-letter chords.@-sign bases, default signs to the detected default branch, and show jj-backed inline blame where gitsigns does not attach.grrreferences by sending the required LSP context and keeping multiple results in the Telescope picker.Test plan
tmux source-file -n dot_tmux.confluac -p dot_config/nvim/init.lua dot_config/nvim/lua/custom/plugins/git.lua.gitjj workspace, and Kotlin references picker.