Skip to content

Instantly share code, notes, and snippets.

@Axlefublr
Last active October 11, 2024 14:23
Show Gist options
  • Save Axlefublr/cd168f6db2adf2a741c41aeba533e070 to your computer and use it in GitHub Desktop.
Save Axlefublr/cd168f6db2adf2a741c41aeba533e070 to your computer and use it in GitHub Desktop.

When considering switching to helix master, I went through all the commits after stable. Here are the new features I discovered:

There's a picker refactor: most pickers now have columns, that you can search directly.
Here's how the bindings picker looks like now:

image

And thanks to columns, it's much nicer to use!
You can type in %column_name to start searching in that column.
So you can search by specifically documentation by using %doc:

image

Or just %d! The column matcher just needs to be unique, from the start of the column name; you don't have to use the full name.

image

You can combine a normal search with a column search:

image

And even multiple:

image

The global_search action used to prompt you for the search in the commandline area, and then show the results at once. Now it is an interactive picker, and shows results as you type in the regex pattern:

image

Also has a column you can additionally filter by:

image

There's now an inline-diagnostics option in the [editor] section, that lets you have lsp-lines-like diagnostics (without being super buggy, like that nvim plugin is).

image

Lsp snippets: when lsps complete extra text (default parameters for example), it now actually appears in the completed suggestion. It used to strangely dissapear.
This snippet implementation is not full; you still can't go to the previous / next node in the snippet, for example.

Extra information for suggestions now appears at the top / bottom of the screen, rather than being squished to the side of the suggestion box. So generally you get to look at it a bit more normally.

image

In mappings, you can now use @ to bind to literal keypresses. For example 'mw' = '@miw'.

Subword movement actions. Search for them with sub_word in the keybind picker. I went with using gw, ge, gb (the first two are mapped by default, I moved those default mappings elsewhere).

Hardlinks were broken: if you wrote to a hardlink, it wouldn't update the other file. This was fixed in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment