Skip to content

refactor(keymap): tidy <leader> groups, tmux-nav desc, doc sync - #13

Merged
hypatia-tile merged 4 commits into
mainfrom
refactor/keymap-tidy
Aug 4, 2026
Merged

refactor(keymap): tidy <leader> groups, tmux-nav desc, doc sync#13
hypatia-tile merged 4 commits into
mainfrom
refactor/keymap-tidy

Conversation

@hypatia-tile

Copy link
Copy Markdown
Owner

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>s group 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.
  • tmux-nav keys=: added desc to the five pane-navigation mappings (were unlabeled in which-key / :map).
  • Docs: split the CLAUDE.md keymap table into global vs. buffer-local LSP mappings and synced both with the code.

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
  • stylua: via CI

🤖 Generated with Claude Code

hypatia-tile and others added 4 commits August 4, 2026 12:31
…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>
@hypatia-tile
hypatia-tile merged commit eb7909a into main Aug 4, 2026
3 checks passed
@hypatia-tile
hypatia-tile deleted the refactor/keymap-tidy branch August 4, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant