92 Helix Keyboard Shortcuts

Learn Helix Shortcuts for Windows

Movement Shortcuts

ActionHelix Shortcut Keys
Move leftH
Move downJ
Move upK
Move rightL
Move next word startW
Move previous word startB
Move next word endE
Move next word startShift + W
Move previous word startShift + B
Move next word endShift + E
Find until next charT
Find next charF
Find until previous charShift + T
Find previous charShift + F
Go to line numberShift + G
Repeat last motion (f, t or m)Alt + .
Move to the start of the lineHome
Move to the end of the lineEnd
Move page upPage Up Key
Move page downPage Down Key
Move half page upCtrl + U
Move half page downCtrl + D
Jump forward on the jumplistCtrl + I
Jump backward on the jumplistCtrl + O
Save the current selection to the jumplistCtrl + S

Changes Shortcuts

ActionHelix Shortcuts
Replace with a characterR
Replace with yanked textShift + R
Switch case of the selected text~
Set the selected text to lower case`
Set the selected text to upper caseAlt + `
Insert before selectionI
Insert after selection (append)A
Insert at the start of the lineShift + I
Insert at the end of the lineShift + A
Open new line below selectionO
Open new line above selectionShift + O
Repeat last insert.
Undo changeU
Redo changeShift + U
Move backward in historyAlt + U
Move forward in historyAlt + Shift + U
Yank selectionY
Paste after selectionP
Paste before selectionShift + P
Select a register to yank to or paste from
Indent selection>
Unindent selection<
Format selection (currently nonfunctional/disabled) (LSP)=
Delete selectionD
Delete selection, without yankingAlt + D
Change selection (delete and enter insert mode)C
Change selection (delete and enter insert mode, without yanking)Alt + C
Increment object (number) under cursorCtrl + A
Decrement object (number) under cursorCtrl + X
Start/stop macro recording to the selected register (experimental)Shift + Q
Play back a recorded macro from the selected register (experimental)Q

Shell Shortcuts

ActionHelix Shortcuts
Pipe each selection through shell command, replacing with output|
Pipe each selection into shell command, ignoring outputAlt + |
Run shell command, inserting output before each selection!
Run shell command, appending output after each selectionAlt + !
Pipe each selection into shell command, keep selections where command returned 0$

Selection Manipulation Shortcuts

ActionHelix Shortcut Keys
Select all regex matches inside selectionsS
Split selection into sub selections on regex matchesShift + S
Split selection on newlinesAlt + S
Merge selectionsAlt + –
Merge consecutive selectionsAlt + _
Align selection in columns&
Trim whitespace from the selection_
Collapse selection onto a single cursor;
Flip selection cursor and anchorAlt + ;
Ensures the selection is in forward directionAlt + :
Keep only the primary selection,
Remove the primary selectionAlt + ,
Copy selection onto the next line (Add cursor below)C
Copy selection onto the previous line (Add cursor above)Alt + C
Rotate main selection backward(
Rotate main selection forward)
Rotate selection contents backwardAlt + (
Rotate selection contents forwardAlt + )
Select entire file%
Select current line, if already selected, extend to next lineX
Extend selection to line bounds (line-wise selection)Shift + X
Shrink selection to line bounds (line-wise selection)Alt + X
Join lines inside selectionJ
Join lines inside selection and select the inserted spaceAlt + Shift + J
Keep selections matching the regexShift + K
Remove selections matching the regexAlt + Shift + K
Comment/uncomment the selectionsCtrl + C
Expand selection to parent syntax node (TS)Alt + O
Alt-down Shrink syntax tree object selection (TS)Alt + I
Select previous sibling node in syntax tree (TS)Alt + P
Select next sibling node in syntax tree (TS)Alt + N

READ NEXT:

Back to top button