date: '2024-11-18T13:03:19-06:00' draft: false title: 'Trying Out Helix Editor'

Trying out Helix Editor

Hey everyone! Time for the (basically monthly) blog!

I've been using Visual Studio Code as my editor of choice since my senior year of undergrad. It's my favorite editor by far, and I've not really thought about changing it since; however, I recently decided to take some time to learn a different way of coding, a way that a lot of people really stand by. The modal way.

I spent some time looking around at modal editors. I considered NeoVim, but I kinda wanted something new, hip and fresh. I came across the Helix Editor. Not only is it modal, but it describes itself as a "Post-Modern Text Editor" (And it's written in Rust!).

On Tuesday, I opened up the Helix Editor and tried to figure out how it works. I've never used modal text editors, and my only experience with one is learning how to :q on Vim. I don't even know if I'd like the modal style of things, since all the editors I've used just are always Insert mode with CTRL+<KEY> hotkeys.

I noticed that Helix encourages not using the arrow keys, rather, you should use the H, J, K, and L keys to move left, down, up, and right. The arrow keys are supported, but they say if you want a more 'modal' experience, you should disable the arrow keys in insert mode and learn to move outside of insert mode. I'm not sure if I'm quite ready to give up my arrow keys, especially because the mouse is not an option.

The tutorial in Helix can be accessed by using the :tutor command when you're in the normal mode, helpfully depicted as NOR. The tutorial is pretty long, but it does a good job of telling you helpful hotkeys in order to move around.

One silly thing I like about Helix is the built-in themes. I can just type :theme <THEME> and turn one of these on. Since I'm coming from Visual Studio Code, the dark_plus theme is just like VSCode, so it feels like home.

So far, I used it yesterday and today, and here are my thoughts. I'm still learning hotkeys for everything, but here are my biggest gripes so far (nothing I can't work around eventually, just getting used to the workflow).

EDIT (10/24/24) In order to get clipboard functionality in wayland on helix, you must install wl-clipboard. Why this isn't better advertised is beyond me, but I have a working clipboard now!

[editor.soft-wrap]
enable = true

For some reason, however, I don't like editing the config too much, even though they make it way easier than any other editor I've used (simply just config-open, make your edits, then config-reload). Maybe it's some of that philosophy of good defaults that I can clearly see coming from the Helix editor. My config is only the theme, and the soft wrap functionality.

Overall, I do enjoy the helix editor, and over time I will probably get good at it. For now, I'm just okay at it, and that's okay. I'm already pretty fast considering how I only learned it yesterday.

I will provide an update if I continue to use it and end up daily driving it!