Skip to main content

Pretty Good Hat

Tag: Editors

a bit of a text editor screen showing some helix configuration in toml

A bit of text editor showing helix configuration in toml. The first two characters of words have been replaced by red highlighted random characters, which can be navigated to by typing the two letters.

This feature of [Helix] is so good! Typing gw replaces the first two characters of words with random letters, and then typing those two letters navigates immediately to that word, selecting it for further operation like copy or replacing. In this example, gwcx would take my cursor straight to the word “register.”

This post from Julia Evans about using Helix was just the bump I needed to check it out, after installing it but never really giving it a try some time ago. I really like how quickly it’s immediately useful without much extra work or time. It will take some adjustment from vim navigation and commands, so perhaps won’t stick, but for now I’m appreciating the intentionality of thinking about what I need to do in the editor, and find so far that I’m picking it up pretty quickly.

For what it’s worth, the only additions I’ve made to Julia’s configuration so far are for some cursor differentiation and one hard-to-break vim convention:

"0" = "goto_line_start"

# from https://docs.helix-editor.com/configuration.html
[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"