docs(client): document gl/gL list change-symbol mappings
Add gl<sym>/gL<sym> to the lists keymap tables in README and help, noting that 1) is command-only. Tick parity gap P1 #2. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -482,6 +482,8 @@ via `mappings.<group> = false` in Neovim, or
|
||||
| `gLh` / `gLl` | Dedent / indent including the item's sublist |
|
||||
| `glr` | Renumber the current ordered list |
|
||||
| `gLr` | Renumber every ordered list in the buffer |
|
||||
| `gl<sym>` | Set the current item's marker to `<sym>` — one of `-` `*` `#` `1` (`1.`) `i` (`i)`) `I` (`I)`) `a` (`a)`) `A` (`A)`) |
|
||||
| `gL<sym>` | Set every item in the list to `<sym>` (same symbol keys) |
|
||||
| `gl<Space>` | Remove every completed item from the current list |
|
||||
| `gL<Space>` | Remove every completed item in the buffer |
|
||||
| `o` / `O` | Open a new line and continue the list marker (preserves any checkbox) |
|
||||
|
||||
@@ -23,10 +23,14 @@ fix site.
|
||||
aliases; `follow_link_drop()` helper in `autoload/nuwiki/commands.vim`;
|
||||
true `:tab drop` tab-reuse wired in both clients (`lua/nuwiki/commands.lua`
|
||||
`open_uri` `'tabdrop'` case); `<C-S-CR>` repointed to tab-drop.
|
||||
- [ ] **`gl<symbol>` change-symbol mappings** — upstream's one-key bullet/number
|
||||
- [x] **`gl<symbol>` change-symbol mappings** — upstream's one-key bullet/number
|
||||
symbol change (`gl*` `gl#` `gl-` `gl1` `gla` `gli` … plus `gL…`) has no
|
||||
nuwiki keymap; only `:…ChangeSymbol*` commands exist.
|
||||
_Fix:_ `lua/nuwiki/keymaps.lua` lists group, `ftplugin/vimwiki.vim` lists block.
|
||||
_Fix:_ added normal-mode `gl{-,*,#,1,i,I,a,A}` (item) + `gL…` (whole list) in
|
||||
`lua/nuwiki/keymaps.lua` lists group and `ftplugin/vimwiki.vim` Vim-branch
|
||||
lists block, wired to the existing `list_change_symbol`. `1)` stays
|
||||
command-only (upstream shadows it with `1.`); normal-mode only (server acts on
|
||||
cursor item / whole list, not a visual range).
|
||||
- [ ] **`gl<Space>` / `gL<Space>` semantics diverge** — upstream = *remove
|
||||
checkbox* from item / list siblings; nuwiki rebinds to *remove done items*.
|
||||
Same keys, different effect (parity trap). Remove-checkbox is command-only in
|
||||
|
||||
@@ -452,6 +452,10 @@ Lists (normal mode) ~
|
||||
gLl Indent the item including its sublist.
|
||||
glr Renumber the current ordered list.
|
||||
gLr Renumber every ordered list in the buffer.
|
||||
gl<sym> Set the current item's marker to <sym>, where <sym> is one
|
||||
of `-` `*` `#` `1` (1.) `i` (i)) `I` (I)) `a` (a)) `A` (A)).
|
||||
For `1)` use `:NuwikiChangeSymbol 1)` (no single-key form).
|
||||
gL<sym> Set every item in the list to <sym> (same symbol keys).
|
||||
gl<Space> Remove every completed item from the current list.
|
||||
gL<Space> Remove every completed item in the buffer.
|
||||
o Open a new line and continue the list marker (preserves
|
||||
|
||||
Reference in New Issue
Block a user