From e9d86b35f8a82a854d66dce0cccd0d6e370cfdc6 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Thu, 8 Oct 2026 20:05:02 +0200 Subject: [PATCH] docs(README): add per-plugin descriptions and usage guides Add a 'The plugins' section with a short description and a defaults-based usage guide for each of the six plugins: palette (M-x + the :-verb table + frecency), switch (Go to File/Symbol, ctags, project scoping, cache), radial (open/choose gestures + radials.json config), acme (line keys, pair select, mouse chords), sam (tool view, Run, X/Y multi-file), and plumb (F2 send, edit port, fallback). Trim the now-redundant usage prose from the install section and point it at the new section. --- README.md | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 101 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c814a27..c9bf34a 100644 --- a/README.md +++ b/README.md @@ -75,18 +75,113 @@ done ``` Then in Kate: Settings → Configure Kate → Plugins → enable each **`[deft:…]`** -plugin you installed. Press **Alt+X** (M-x) to open the command palette; type to -filter, Enter or click to run. Open the editing **radial menu** either by -pressing **Alt+R** (opens at the caret) or by **pressing the right mouse button** -in the editor (opens at the pointer; the normal context menu is suppressed while -this is enabled). Move toward a slice and release — or click; a branch slice -(marked ▸) opens a submenu, the centre hub goes back/cancels. +plugin you installed. See [The plugins](#the-plugins) below for what each one +does and how to drive it. The plugins cooperate but do not depend on one another: palette's "Go to File/Symbol" entries and radial's launcher slices resolve `switch`'s actions by object name at runtime, so each `.so` works on its own and simply gains those entry points when its sibling is also enabled. +## The plugins + +Each plugin is independent — enable only what you want. Keys shown below are the +defaults. + +### `[deft:util] palette` — command palette (M-x) + +A Sublime/Emacs-style launcher over **every action currently offered by the +window**, matched with the orderless `FuzzyRanker` (space-separated tokens in +any order, with typo tolerance) and ranked by *frecency* (frequency + recency of +your past choices). + +- **Open:** `Alt+X`. Type to filter, `Enter` or click to run, `Esc` to dismiss. +- Entries include all live menu/toolbar actions, the `:`-verbs below, and — when + `switch` is enabled — **Go to File** and **Go to Symbol**. +- Usage is remembered in `~/.config/deft/palette.frecency.json`. + +It also registers a small pack of **`:` command-line verbs** (type `:` in Kate, +or pick them from the palette). Each transforms the selection in place, or the +whole document when nothing is selected: + +| Verb | Effect | +|------|--------| +| `osort [u] [i]` | sort selected lines (`u` = unique, `i` = case-insensitive) | +| `rsort` | reverse the order of selected lines | +| `case