aboutsummaryrefslogtreecommitdiff
path: root/tests/test-vterm-toggle--buffer-filter.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 19:05:43 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 19:05:43 -0500
commit1dbf5a4a2d2ce4277dc97a3e9783240324ad5f53 (patch)
tree2a81d246d624064660681df8adf72672a38b8092 /tests/test-vterm-toggle--buffer-filter.el
parent0b5ada69861b338d93ee947645e7fa1ed12fca00 (diff)
downloaddotemacs-1dbf5a4a2d2ce4277dc97a3e9783240324ad5f53.tar.gz
dotemacs-1dbf5a4a2d2ce4277dc97a3e9783240324ad5f53.zip
refactor(org-config): surface narrowing + sparse-tree under C-; O
Narrowing and sparse-tree commands existed in the `:bind' block on `C-c'-style shortcuts but nothing in `cj/org-map' surfaced them, so which-key never showed them and discoverability was poor. Add direct bindings under `C-; O', flat (no sub-prefixes for narrow / sparse-tree). Lowercase creates; capital of the same letter cancels: - `n' / `N' narrow-to-subtree / widen - `s' / `S' match-sparse-tree / show-all - `t' / `T' show-todo-tree / show-all - `>' / `<' forward / backward sibling narrow (kept as-is) - `R' reveal-context (no lowercase pair -- `r' is the table-row sub-prefix) Both `S' and `T' resolve to the same `org-show-all' command so the mental model is just "capital cancels the lowercase I just ran" without having to recall which letter the cancel actually lives on. Free up F2: the old `(<f2> . org-reveal)' binding in the org-mode `:bind' block is now redundant with `C-; O R'. Drop it; F2 becomes available for whatever wants it next. Four new ERT assertions in `test-org-config-keymap-ownership.el' lock the shape -- the old sparse-tree-submap test was rewritten for the flat layout and the narrow-submap test became narrow-bindings (also flat).
Diffstat (limited to 'tests/test-vterm-toggle--buffer-filter.el')
0 files changed, 0 insertions, 0 deletions