Helix 23.10 keyboard shortcuts 

Helix 23.10  

Zeynel -
10 months ago
- Shortcuts
Normal mode is the default mode when you launch Helix. Return to it from other modes by typing Escape.
NOTE: Unlike Vim, F, Shift+F, T and Shift+T are not confined to the current line.
0
H

Move left

0
or
0
J

Move down

0
or
0
K

Move up

0
or
0
L

Move right

0
or
0
W

Move next word start

0
B

Move previous word start

0
E

Move next word end

0
↑  Shift + W

Move next word start

0
↑  Shift + B

Move previous word start

0
↑  Shift + E

Move next word end

0
T

Find until next char

0
F

Find next char

0
↑  Shift + T

Find until previous char

0
↑  Shift + F

Find previous char

0
↑  Shift + G

Go to line number

0
Alt + .

Repeat last motion (f, t or m)

0
Home

Move to the start of the line

0
End

Move to the end of the line

0
Ctrl + B

Move page up

0
or Page Up
0
Ctrl + F

Move page down

0
or Page Down
0
Ctrl + U

Move half page up

0
Ctrl + D

Move half page down

0
Ctrl + I

Jump forward on the jumplist

0
Ctrl + O

Jump backward on the jumplist

0
Ctrl + S

Save the current selection to the jumplist

Advertisement

0
R

Replace with a character

0
↑  Shift + R

Replace with yanked text

0
~

Switch case of the selected text

0
`

Set the selected text to lower case

0
Alt + `

Set the selected text to upper case

0
I

Insert before selection

0
A

Insert after selection (append)

0
↑  Shift + I

Insert at the start of the line

0
↑  Shift + A

Insert at the end of the line

0
O

Open new line below selection

0
↑  Shift + O

Open new line above selection

0
.

Repeat last insert

0
U

Undo change

0
↑  Shift + U

Redo change

0
Alt + U

Move backward in history

0
Alt + ↑  Shift + U

Move forward in history

0
Y

Yank selection

0
P

Paste after selection

0
↑  Shift + P

Paste before selection

0
"

: Select a register to yank to or paste from

0
>

Indent selection

0
<

Unindent selection

0
=

Format selection (currently nonfunctional/disabled) (LSP)

0
D

Delete selection

0
Alt + D

Delete selection, without yanking

Advertisement

0
C

Change selection (delete and enter insert mode)

0
Alt + C

Change selection (delete and enter insert mode, without yanking)

0
Ctrl + A

Increment object (number) under cursor

0
Ctrl + X

Decrement object (number) under cursor

0
↑  Shift + Q

Start/stop macro recording to the selected register (experimental)

0
Q

Play back a recorded macro from the selected register (experimental)

0
|

Pipe each selection through shell command, replacing with output

0
Alt + |

Pipe each selection into shell command, ignoring output

0
!

Run shell command, inserting output before each selection

0
Alt + !

Run shell command, appending output after each selection

0
$

Pipe each selection into shell command, keep selections where command returned 0

0
S

Select all regex matches inside selections

0
↑  Shift + S

Split selection into sub selections on regex matches

0
Alt + S

Split selection on newlines

0
Alt + -

Merge selections

0
Alt + _

Merge consecutive selections

0
&

Align selection in columns

0
_

Trim whitespace from the selection

0
;

Collapse selection onto a single cursor

0
Alt + ;

Flip selection cursor and anchor

0
Alt + :

Ensures the selection is in forward direction

0
,

Keep only the primary selection

0
Alt + ,

Remove the primary selection

0
C

Copy selection onto the next line (Add cursor below)

0
Alt + C

Copy selection onto the previous line (Add cursor above)

0
(

Rotate main selection backward

0
)

Rotate main selection forward

0
Alt + (

Rotate selection contents backward

0
Alt + )

Rotate selection contents forward

0
%

Select entire file

0
X

Select current line, if already selected, extend to next line

0
↑  Shift + X

Extend selection to line bounds (line-wise selection)

0
Alt + X

Shrink selection to line bounds (line-wise selection)

0
J

Join lines inside selection

0
Alt + ↑  Shift + J

Join lines inside selection and select the inserted space

0
↑  Shift + K

Keep selections matching the regex

0
Alt + ↑  Shift + K

Remove selections matching the regex

0
Ctrl + C

Comment/uncomment the selections

0
Alt + O

Expand selection to parent syntax node (TS)

0
or Alt +
0
Alt + I,

Alt-down Shrink syntax tree object selection (TS)

0
Alt + P

Select previous sibling node in syntax tree (TS)

0
or Alt +
0
Alt + N

Select next sibling node in syntax tree (TS)

0
or Alt +
Search commands all operate on the / register by default. To use a different register, use ".
0
/

Search for regex pattern

0
?

Search for previous pattern

0
N

Select next search match

0
↑  Shift + N

Select previous search match

0
*

Use current selection as the search pattern

These sub-modes are accessible from normal mode and typically switch back to normal mode after a command.
0
V

Enter select (extend) mode

0
G

Enter goto mode

0
M

Enter match mode

0
:

Enter command mode

0
Z

Enter view mode

0
↑  Shift + Z

Enter sticky view mode

0
Ctrl + W

Enter window mode

0
Space

Enter space mode

These modes (except command mode) can be configured by remapping keys.
0
Z

View mode is accessed by typing z in normal mode

View mode is intended for scrolling and manipulating the view without changing the selection. The "sticky" variant of this mode (accessed by typing Z in normal mode) is persistent and can be exited using the escape key. This is useful when you're simply looking over text and not actively editing it.
0
Z

Vertically center the line

0
or C
0
T

Align the line to the top of the screen

0
B

Align the line to the bottom of the screen

0
M

Align the line to the middle of the screen (horizontally)

0
J

Scroll the view downwards

0
or
0
K

Scroll the view upwards

0
or
0
Ctrl + F

Move page down

0
or Page Down
0
Ctrl + B

Move page up

0
or Page Up
0
Ctrl + D

Move half page down

0
Ctrl + U

Move half page up

0
G

Goto mode is accessed by typing g in normal mode.

0
G

Go to line number else start of file

0
E

Go to the end of the file

0
F

Go to files in the selection

0
H

Go to the start of the line

0
L

Go to the end of the line


Share this page on:
Is this page helpful?
0 0

Program information

Program name: Helix 23.10 Helix 23.10 (Text editing)

Web page: helix-editor.com

How easy to press shortcuts: 85%

More information >>

Updated: Added some shortcuts. (3 updates.) 17.01.2024 15:20:28 New program added.
17.01.2024 15:23:16 Added some shortcuts.
17.01.2024 15:24:18 Added some shortcuts.

Shortcut count: 313

Platform detected: Windows or Linux

Similar programs



User operations

Add Helix 23.10 to your list of favorites

Advertisement


What is your favorite Helix 23.10 hotkey? Do you have any useful tips for it? Let other users know below.


 
No comments yet. Ask, or type the first one!

Latest articles