summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-31 01:18:53 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:08 -0300
commit8a7112f08e0ce93a37b177e3aa83637e1691b451 (patch)
tree4a5fe4b0da18cf98cd91950a218ad4a6d324b0cc /docs
parenta77e342eb7fa4add700a96a661226649e8c4763f (diff)
downloadpardes-8a7112f08e0ce93a37b177e3aa83637e1691b451.tar.gz
pardes-8a7112f08e0ce93a37b177e3aa83637e1691b451.zip
Look and Exec are builtins like any other
Their only special feature is now the keys they are assigned. `Look main.zig` typed in a tag is the same look a right click is; config.look_cmd/exec_cmd point the two buttons and Enter/Tab at them, so retargeting Enter to Grep is one line. actOnSelection — a hand-written cascade with the builtin dispatch nested inside it — is gone, and the `button` parameter it threaded through five KEYBOARD call sites went with it. New syntax, spelled once in config.zig: @`ls -la` names a command to run rather than a file to open. Word expansion takes the quoted run whole, the way acme does for its own </|/> words, so a click inside one does not hand Look the fragment `ls`. And it nests: @`Look .` unwraps, re-enters the dispatcher, and looks at the directory. Guarded at depth 8, which is unreachable today (every re-entry strips a word or a delimiter pair, so the string strictly shrinks) and exists for a future syntax that does not shrink. leader_path is now optional: a builtin may have no SPC path when its shortcut is a key and a mouse button. New golden cmdword; the other 59 unmoved.
Diffstat (limited to 'docs')
-rw-r--r--docs/lsp.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/lsp.md b/docs/lsp.md
index 91d07231..a22a4c52 100644
--- a/docs/lsp.md
+++ b/docs/lsp.md
@@ -57,7 +57,7 @@ Every backend renders into one format:
1-based line and column, absolute path. This is the format `look.zig` already
resolves, `runSearch` already produces and `n`/`N` already step — so:
-- **one row from a goto** → jump straight there (`actOnSelection`)
+- **one row from a goto** → jump straight there (`lookAt`)
- **several rows** → an output buffer, which `n`/`N` walk
which means helix's multi-result picker required **no picker code at all**. The