Cheat sheets

Helix keyboard shortcuts on macOS

Helix runs inside a terminal, so there's no macOS menu bar for Keysi to read. Its shortcuts come from this sheet instead. Hold ⌘ while Helix is in the foreground and they appear.

50 shortcuts · adds to what Keysi reads from the app's own menus · free, and not part of Keysi Pro.

Open in Keysi Don't have Keysi? Download free

Shows this sheet in Keysi's Settings ▸ Shortcuts, where it's already installed.

Insert

ActionKeys
Insert before selectioni
Append after selectiona
Open new line belowo

Movement

ActionKeys
Left / down / up / righth j k l
Next word startw
Previous word startb
Next word ende
Find next characterf <char>
Move till next charactert <char>
Half page downCtrl-d
Half page upCtrl-u

Goto (g)

ActionKeys
Go to line number, or start of fileg g
Go to end of fileg e
Go to start of lineg h
Go to end of lineg l
Go to definition (LSP)g d
Go to references (LSP)g r
Go to next bufferg n
Go to previous bufferg p

Selections

ActionKeys
Select current line (again to extend)x
Select entire file%
Collapse selection onto a single cursor;
Select all regex matches inside selectionss
Expand selection to parent syntax nodeAlt-o

Editing

ActionKeys
Delete selectiond
Change selection (delete and insert)c
Yank (copy) selectiony
Paste after selectionp
Undou
RedoU
Indent selection>
Comment / uncomment selectionCtrl-c

Search

ActionKeys
Search for a regex pattern/
Select next matchn
Select previous matchN
Search for the current selection (word boundaries)*

Match and surround (m)

ActionKeys
Go to matching bracketm m
Surround selection with a characterm s <char>
Select inside a text objectm i <object>

Space menu

ActionKeys
Open file pickerSpace f
Open buffer pickerSpace b
Open symbol picker (LSP)Space s
Rename symbol (LSP)Space r
Apply code action (LSP)Space a
Show documentation under cursor (LSP)Space k
Global search in workspaceSpace /
Open command paletteSpace ?

Windows

ActionKeys
Vertical splitCtrl-w v
Horizontal splitCtrl-w s
Move between splitsCtrl-w h j k l

Use this sheet

It's already in Keysi. Install the app and hold ⌘ in Helix.

Keysi lists it as Helix in Settings ▸ Shortcuts.

To change it, download the file below and put it in ~/Library/Application Support/Keysi/Sheets/ (Settings ▸ Shortcuts ▸ “Reveal Sheets Folder”). A sheet with the same id replaces the built-in one, so your edits stick. Or use Keysi's editor and skip the JSON.

Matches the program in a terminal's foreground: hx. Keysi checks the terminal's foreground job, so the sheet appears while you're actually in it.

Download the Helix sheet (JSON) Get Keysi — free

Cheat sheets for other apps