fix(commands)+docs: even out :NuwikiUISelect; exhaustive subgroup key lists
- ftplugin/vimwiki.vim: add buffer-local :NuwikiUISelect to the Vim path (it previously existed only on the Neovim path, contradicting the docs' "buffer-local on every .wiki buffer" claim — a global fallback masked it). Now symmetric with :VimwikiUISelect. - Make every keymap subgroup description list all of its bindings instead of trailing with "…": the README mappings-subgroups table, the README config-example comments, the README g:nuwiki_no_<group>_mappings rows, the doc/nuwiki.txt group→keys list, and the lua/nuwiki/config.lua comment. Also fixes the doc list that had dropped aH/iH from text_objects and adds the mouse group. Each notes that the <Leader>w prefix follows map_prefix. helptags validates (no dup tags); all keymap suites pass (266+18+21 Vim, 275 Lua); :NuwikiUISelect confirmed defined on a Vim .wiki buffer. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+23
-6
@@ -267,15 +267,32 @@ Vim-specific globals ~
|
||||
Per-subgroup opt-outs, each defaulting to 0. Setting one to 1 drops just
|
||||
that group's buffer-local keymaps while leaving the rest in place; the
|
||||
whole-layer |g:nuwiki_no_default_mappings| still wins over all of them.
|
||||
These mirror the Lua-side `mappings.<group>` booleans. Valid groups:
|
||||
`wiki_prefix` `<Leader>w*`
|
||||
`links` `<CR>`, `<S-CR>`, `<Tab>`, `<BS>`, `+`, …
|
||||
`lists` `<C-Space>`, `gl*`, `o`/`O`, insert-mode list edits
|
||||
These mirror the Lua-side `mappings.<group>` booleans. Every binding in
|
||||
each group (the `<Leader>w` prefix follows |g:nuwiki_map_prefix|):
|
||||
`wiki_prefix` `<Leader>ww`, `<Leader>wt`, `<Leader>ws`,
|
||||
`<Leader>wi`, `<Leader>w<Leader>w`,
|
||||
`<Leader>w<Leader>y`, `<Leader>w<Leader>t`,
|
||||
`<Leader>w<Leader>m`, `<Leader>w<Leader>i`
|
||||
`links` `<CR>`, `<S-CR>`, `<C-CR>`, `<C-S-CR>`, `<D-CR>`,
|
||||
`<M-CR>`, `<BS>`, `<Tab>`, `<S-Tab>`, `+` (n/x),
|
||||
`<Leader>wn`, `<Leader>wd`, `<Leader>wr`,
|
||||
`<Leader>wc` (n/x)
|
||||
`lists` `<C-Space>` (also `<C-@>`/`<Nul>`), `gnt`, `gln`,
|
||||
`glp`, `glx`, `glh`, `gll`, `gLh`, `gLl`, `glr`,
|
||||
`gLr`, `gl-`, `gl*`, `gl#`, `gl1`, `gli`, `glI`,
|
||||
`gla`, `glA`, `gL-`, `gL*`, `gL#`, `gL1`, `gLi`,
|
||||
`gLI`, `gLa`, `gLA`, `gl`, `gL`, `o`, `O`; insert
|
||||
`<C-D>`, `<C-T>`, `<C-L><C-J>`, `<C-L><C-K>`,
|
||||
`<C-L><C-M>`, `<CR>`
|
||||
`headers` `=`, `-`, `]]`, `[[`, `]=`, `[=`, `]u`, `[u`
|
||||
`table_editing` `gqq`, `<A-Left>`, `<A-Right>`, insert `<Tab>`
|
||||
`table_editing` `gqq`, `gq1`, `gww`, `gw1`, `<A-Left>`,
|
||||
`<A-Right>`; insert `<Tab>`, `<S-Tab>`
|
||||
`diary` `<C-Down>`, `<C-Up>`
|
||||
`html_export` `<Leader>wh`, `<Leader>whh`, `<Leader>wha`
|
||||
`text_objects` `ah`, `ih`, `al`, `il`, `a\`, `i\`, `ac`, `ic`
|
||||
`text_objects` `ah`, `ih`, `aH`, `iH`, `al`, `il`, `a\`, `i\`,
|
||||
`ac`, `ic`
|
||||
`mouse` `<2-LeftMouse>`, `<S-2-LeftMouse>`,
|
||||
`<C-2-LeftMouse>`, `<MiddleMouse>`, `<RightMouse>`
|
||||
|
||||
*g:nuwiki_map_prefix*
|
||||
`g:nuwiki_map_prefix` `'<Leader>w'`
|
||||
|
||||
Reference in New Issue
Block a user