Helix 23.10 keyboard shortcuts

Helix 23.10

Zeynel -
4 months ago
- Shortcuts

Note that we don't distinguish shortcuts with lowercase and uppercase letters like found in some Unix programs. It's always uppercase. So, B means B and Shift + B means Shift + B.

0
S

Go to first non-whitespace character of the line

0
T

Go to the top of the screen

0
C

Go to the middle of the screen

0
B

Go to the bottom of the screen

0
D

Go to definition (LSP)

0
Y

Go to type definition (LSP)

0
R

Go to references (LSP)

0
I

Go to implementation (LSP)

0
A

Go to the last accessed/alternate file

0
M

Go to the last modified/alternate file

0
N

Go to next buffer

0
P

Go to previous buffer

0
.

Go to last modification in current file

0
J

Move down textual (instead of visual) line

0
K

Move up textual (instead of visual) line

Advertisement

Accessed by typing m in normal mode.
0
M

Goto matching bracket (TS)

0
S

: Surround current selection with

0
R

: Replace surround character with

0
D

: Delete surround character

0
A

: Select around textobject

0
I

: Select inside textobject

0
Ctrl + W

Access Windows mode

This layer is similar to Vim keybindings as Kakoune does not support windows.
0
W

Switch to next window

0
Ctrl +

W

0
V

Vertical right split

0
Ctrl +

V

0
S

Horizontal bottom split

0
or Ctrl + S
0
F

Go to files in the selection in horizontal splits

0
F

Go to files in the selection in vertical splits

0
H

Move to left split

0
or Ctrl + H
0
or
0
J

Move to split below

0
or Ctrl + J
0
or
0
K

Move to split above

0
or Ctrl + K
0
or
0
L

Move to right split

0
or Ctrl + I
0
or
0
Q

Close current window

0
O

Only keep the current window, closing all the others

0
H

Swap window to the left

0
J

Swap window downwards

0
K

Swap window upwards

0
L

Swap window to the right

0
Space

Access space mode

This layer is a kludge of mappings, mostly pickers.
0
F

Open file picker

0
↑  Shift + F

Open file picker at current working directory

0
B

Open buffer picker

0
J

Open jumplist picker

Advertisement

0
G

Debug (experimental)

0
K

Show documentation for item under cursor in a popup (LSP)

0
S

Open document symbol picker (LSP)

0
S

Open workspace symbol picker (LSP)

0
D

Open document diagnostics picker (LSP)

0
↑  Shift + D

Open workspace diagnostics picker (LSP)

0
R

Rename symbol (LSP)

0
A

Apply code action (LSP)

0
H

Select symbol references (LSP)

0
'

Open last fuzzy picker

0
W

Enter window mode

0
P

Paste system clipboard after selections

0
P

Paste system clipboard before selections

0
Y

Yank selections to clipboard

0
↑  Shift + Y

Yank main selection to clipboard

0
↑  Shift + R

Replace selections by clipboard contents

0
/

Global search in workspace folder

0
?

Open command palette

Tip: Global search displays results in a fuzzy picker, use Space + ' to bring it back up after opening a file.
Displays documentation for item under cursor.
0
Ctrl + U

Scroll up

0
Ctrl + D

Scroll down

These mappings are in the style of vim-unimpaired.
0
] then D

Go to next diagnostic (LSP)

0
[ then D

Go to previous diagnostic (LSP)

0
] then ↑  Shift + D

Go to last diagnostic in document (LSP)

0
[ then ↑  Shift + D

Go to first diagnostic in document (LSP)

0
] then F

Go to next function (TS)

0
[ then F

Go to previous function (TS)

0
] then T

Go to next type definition (TS)

0
[ then T

Go to previous type definition (TS)

0
] then A

Go to next argument/parameter (TS)

0
[ then A

Go to previous argument/parameter (TS)

0
] then C

Go to next comment (TS)

0
[ then C

Go to previous comment (TS)

0
] then ↑  Shift + T

Go to next test (TS)

0
[ then ↑  Shift + T

Go to previous test (TS)

0
] then P

Go to next paragraph

0
[ then P

Go to previous paragraph

0
] then G

Go to next change

0
[ then G

Go to previous change

0
] then ↑  Shift + G

Go to last change

0
[ then ↑  Shift + G

Go to first change

0
] then Space

Add newline below

0
[ then Space

Add newline above

0
I

Accessed insert mode

Insert mode bindings are minimal by default. Helix is designed to be a modal editor, and this is reflected in the user experience and internal mechanics. Changes to the text are only saved for undos when escaping from insert mode to normal mode.
Tip: It is recommended for new users to learn the modal editing paradigm to get the smoothest experience.
0
Esc

Switch to normal mode

0
Ctrl + S

Commit undo checkpoint

0
Ctrl + X

Autocomplete

0
Ctrl + R

Insert a register content

0
Ctrl + W

Delete previous word

0
or Alt + Backspace
0
Alt + D

Delete next word

0
or Alt + Del
0
Ctrl + U

Delete to start of line

0
Ctrl + K

Delete to end of line

0
Ctrl + H

Delete previous char

0
or Backspace
0
or ↑  Shift + Backspace
0
Ctrl + D

Delete next char

0
or Del
0
Ctrl + J

Insert new line

0
or ⤶ Enter
These keys are not recommended, but are included for new users less familiar with modal editors.
0

Move to previous line

0

Move to next line

0

Backward a char

0

Forward a char

0
Page Up

Move one page up

0
Page Down

Move one page down

0
Home

Move to line start

0
End

Move to line end

As you become more comfortable with modal editing, you may want to disable some insert mode bindings. You can do this by editing your config.toml file.
0
Select

/ extend mode

0
V

Accessed Select / extend mode

Select mode echoes Normal mode, but changes any movements to extend selections rather than replace them. Goto motions are also changed to extend, so that vgl, for example, extends the selection to the end of the line.
Search is also affected. By default, n and N will remove the current selection and select the next instance of the search term. Toggling this mode before pressing n or N makes it possible to keep the current selection. Toggling it on and off during your iterative searching allows you to selectively add search terms to your selections.

Picker

Keys to use within picker. Remapping currently not supported.
0
↑  Shift + Tab

Previous entry

0
or Ctrl + P
0
Tab

Next entry

0
or
0
or Ctrl + N
0
Page Up

Page up

0
or Ctrl + U

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

Program information

Program name: Helix 23.10 Helix 23.10 (Text editing)

Helix is a "modal text editor" with features such as Vim-like modal editing, multiple selections, and built-in language server support.

Web page: helix-editor.com

How easy to press shortcuts: 85%

More information >>

Updated: Added some shortcuts. (3 updates.) 1/17/2024 4:20:28 PM New program added.
1/17/2024 4:23:16 PM Added some shortcuts.
1/17/2024 4:24:18 PM 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!