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