Helix Editor

132 readers
1 users here now

Helix, a post-modern text editor.

Ask all your questions related to Helix, or post relevant content for Helix users.

This is a non-official Helix community (tho we'd love to be official!).

Useful links

https://helix-editor.com/

founded 1 year ago
MODERATORS
1
9
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 
 

Hey friends,

I tried Kakoune for the first time recently—I definitely feel like it gets keybindings right. So I just wrapped up configuring Helix to (as far as I can tell) use those bindings (basically, it totally cuts out select mode and makes things much faster). Thought I'd share for anyone else interested.

[keys.normal]
H = "extend_char_left"
J = "extend_line_down"
K = "extend_line_up"
L = "extend_char_right"

W = "extend_next_word_start"
E = "extend_next_word_end"
B = "extend_prev_word_start"

A-j = "join_selections"

A-n = "search_prev"
N = "extend_search_next"
A-N = "extend_search_prev"

[keys.normal.g]
e = ["goto_last_line", "goto_line_end"]
G = ["select_mode", "goto_file_start", "normal_mode"]
[keys.normal.G]
H = "extend_to_line_start"
L = "extend_to_line_end"
E = ["select_mode", "goto_last_line", "goto_line_end", "normal_mode"]
[keys.normal.v]
t = "align_view_top"
b = "align_view_bottom"
v = "align_view_center"

Happy editing!

2
14
Helix 24.03 (helix-editor.com)
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
 
 

Mostly internal changes this time

3
 
 

I feel like I often overselect when repeating the x command, but the only way I know of to fix it is vk<esc> which is not the most fun to type. Does anyone have a good binding or option for undoing an over-selection? I'm aware of #3776 but curious what workarounds people do now.

4
 
 

Helix supports 'metals' as a language server for Scala. Metals claims to be easy to install, yet I don't get how to install it for Helix. Anybody managed? I'd prefer to install 'metals' from source.