refactor(keymap): tidy <leader> groups, tmux-nav desc, doc sync - #13
Merged
Conversation
…ftplugin mapleader is <Space>, so <space>cl/hs/ea were equivalent but stylistically inconsistent with the rest of the config, which uses <leader>. Normalize to <leader> for uniformity. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The <leader>s prefix mixed unrelated actions: symbol/search pickers (ss/sS) alongside signature help (sh) and the Copilot toggle (sc). Move the two outliers to groups that match their semantics: - <leader>sc -> <leader>tc: joins the toggle group with <leader>tp. - <leader>sh -> <leader>k: signature help sits next to hover (K) as an LSP info action, out of the search group. <leader>s now holds only telescope symbol/search pickers. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The five pane-navigation mappings had no desc, so they showed up unlabeled in which-key and :map listings. Add descriptions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Split the "Key Global Keymaps" table into truly-global mappings and the buffer-local LSP mappings attached on LspAttach, and bring both in line with the code: - <leader>sc -> <leader>tc (Copilot toggle moved to the toggle group). - Add the LSP navigation, signature help (<leader>k), symbol pickers, and diagnostic mappings that were previously undocumented. - Update the haskell ftplugin line to <leader>hs / <leader>ea. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.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.
What
Keymap inventory/tidy pass from the refactor backlog. No hard duplicates existed; this addresses consistency and doc drift.
<space>→<leader>: haskell ftplugin used literal<space>cl/hs/ea; normalized to<leader>(mapleader is<Space>, so behavior is unchanged).<leader>sgroup purified to telescope symbols/search only:<leader>sc(Copilot toggle) →<leader>tc— joins the toggle group with<leader>tp.<leader>sh(signature help) →<leader>k— sits next to hover (K) as an LSP info action.keys=: addeddescto the five pane-navigation mappings (were unlabeled in which-key /:map).Behavior changes
Two bindings moved:
<leader>sc→<leader>tc,<leader>sh→<leader>k. Everything else is equivalent or docs-only.Test
bin/check(headless startup): OK🤖 Generated with Claude Code