- Move cursor:
h,j,k,l - Insert mode:
i,I,A,o,O - Select:
w,e,b,x - Collapse selection:
; - Delete:
d,c - Undo/redo:
u,U - Copy/paste:
y,p - Search:
/,?- Cycle through search matches:
n,N
- Cycle through search matches:
- Duplicate cursor:
C,Alt-C - Find and replace in current selection:
s- In whole file:
%
- In whole file:
- Align contents of selections:
& - Split selections into lines:
alt-s - Join lines:
J - Indent:
>,< - Select up to character:
f,F,t,T - Repeat last insert:
. - Repeat last
f/tselection:alt-. - Replace all characters in selection:
r <ch> - Replace selection with yanked text:
R - Increment/decrement:
ctrl-a,ctrl-x - Select register:
" - Record/replay macro into register
@:Q,q - Copy selection to search register:
* - Add search matches to selection in select mode:
n,N - Jumplist:
ctrl-s,ctrl-o,ctrl-i - Show two-character labels:
gw - Permutate selection contents:
alt-(,alt-) - Change case:
~,<backtick>,alt-<backtick> - Split selection on regex:
S - Comment line:
ctrl-c - Match mode:
m - Splits:
ctrl-w
Created
July 9, 2025 17:52
-
-
Save jim-ec/3a4775b8f779594ca36fe9ca31b22701 to your computer and use it in GitHub Desktop.
Helix Cheatsheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment