diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/search-proto-converge.md | 12 | ||||
| -rw-r--r-- | docs/typ/guide.typ | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/docs/search-proto-converge.md b/docs/search-proto-converge.md index 4c7b7006..af9068a0 100644 --- a/docs/search-proto-converge.md +++ b/docs/search-proto-converge.md @@ -56,6 +56,18 @@ end without a word; with no places (or after an `s` changed the register) they are helix's register search as before. `]d` / `[d` step the diagnostics' places once a Diagnostics query fed them. +**A language server's list is answered, not typed.** `gd`, `gr`, `gi` +and `SPC l d` ask; the answer decides: one place is a jump (the keyboard +on it, the place that text's places, so it is tinted and n/N have it; no +query pane); several open the query pane with its rows there and the +keyboard in its normal mode on the current row (the first after where it +was asked), its target shown, so j/k/n/N step, Enter lands and Esc goes +back to the text as it was; none is a message. Line 1 reads `Refs` as text +(B2 asks again; editing it to `/x` works), but no language key puts the +keyboard there in insert mode. Diagnostics keep the keyboard in the text +so `]d`/`[d` step their places. `Symbols` (`SPC s s`) is fuzzy, typed +into: a query. + **The current row shows its target**, the keyboard staying on line 1: a place in an open pane's text is selected there and scrolled into view (remembered for Esc); a file an open pane shows, its line there; any other diff --git a/docs/typ/guide.typ b/docs/typ/guide.typ index d479a884..4b783c64 100644 --- a/docs/typ/guide.typ +++ b/docs/typ/guide.typ @@ -193,7 +193,7 @@ Line 1's first word names what it searches, and editing the word changes it: [`Panes name`], [the open panes, then the ones closed this session, `(closed)` and dimmer: #key("Enter") (or a #word("Look") at its `@pN`) brings one back where it was, its text with it (#key("SPC b b"), #word("Panes"))], [`Symbols name`], [the text's declarations (#key("SPC s s"))], [`All pat`], [every open pane's text, its rows under each pane (#key("SPC /"))], - [`Refs`, `Def`, `Impl`, `Diagnostics`], [the language server's lists; their places in the text tinted as a `/`'s are, `]d` stepping the diagnostics], + [`Refs`, `Def`, `Impl`, `Diagnostics`], [the language server's lists (#key("gr"), #key("gd"), #key("gi"), #key("SPC l d")): one answer is a jump, none a message; several open the list with the keyboard on its current row in normal mode (#keys("j", "k", "n", "N") step it, #key("Enter") lands, #key("Esc") goes back), the diagnostics' keeping it in the text for `]d`; their places in the text tinted as a `/`'s are], ) A row in a file no pane shows is shown in a `+Preview` under the query |
