hx
hx
Fast key reference for the Helix editor. Pass a natural-language query for the relevant bindings, or cheatsheet for the full terse table. Deterministic — print the matching table below verbatim; never fetch anything.
Helix is selection-first: a motion moves and selects, then a verb (d c y) acts on the current selection — the reverse of vim's verb→motion. g is the goto prefix, m the match/surround prefix, Space the leader menu.
Markdown output: soft-wrap prose, never hard-wrap — when writing markdown, write each paragraph as one continuous line; do not insert manual newlines to wrap prose at a fixed column width. Newlines still separate paragraphs, list items, headings, and code fences.
Step 0: Parse query
The raw query (filled by Claude Code / OpenCode slash commands): $ARGUMENTS. If this line is not filled in, read the query from the user's current message.
QUERY="$*" # everything after /hx
Step 1: Match query and print
Pick the first rule that matches QUERY. If QUERY is empty, or is cheatsheet / cheat / sheet / all / everything / full, print the whole cheatsheet (all tables below, in order, followed by the Docs line). Otherwise print only the matching section.