Helix
https://github.com/helix-editor/helix
considering giving it a real try, it has a lot of features I like, and I especially like the idea of basically not configuring anything.
The thought of re-learning all those shortcuts that are hard-wired into my fingers though...
This page gives some vim translations
the python support uses pylsp, install with pip install python-lsp-server docs
-
delete a line:
xd -
go to definition:
gdgawill go back to the last file, but I'm not sure that works quite like my vimghdoes, which goes back up the goto stackctrl-ogoes "backward on the jumplist", which seems to do what I want
-
select lines
- two options:
vto start a visual selection,jjjor any movement to move down, thenXto "extend selection to line boundaries"xxxwill select the three lines beginning where the cursor is
- two options:
-
config-opento load the config file -
to replace all:
xto enter visual selection mode,%to select whole file,sto select a regular expression,cto change at the cursors, enter the replacement,,to remove the secondary cursorsx%s<find><enter>c<replace><esc>,- This seems a lot more cumbersome than
%s/something/other?
-
got an everforest theme from this repo and installed it by copying it into
~/.config/helix/themes, then didconfig-openand changedtheme="everforest_dark_medium" -
there's currently no equivalent to vim's
gqcommand, which is kind of a deal-breaker for me at the moment. Got farther than I had before though!confirmed this on the helix matrix channel- now it has :reflow controlled by the text-width attribute (here is the PR that implemented it)
- issue here for how it lacks features of
:gq, via Julia Evans
- issue here for how it lacks features of