• Luna@lemdro.id
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Helix

    I’d describe it as “NeoVim for people who don’t want to spend time configuring it”. It has syntax highlighting (for pretty much any language you can think of) and LSP support out of the box. And the config file is just a TOML file. Here’s my current config for example:

    theme = "monokai_pro_spectrum"
    
    [editor]
    line-number = "relative"
    middle-click-paste = false
    
    [editor.statusline]
    mode.normal = "NORMAL"
    mode.insert = "INSERT"
    mode.select = "SELECT"
    

    That’s it. No need to deal with Lua or VimScript

    Also using commands after typing the : is easier than in NeoVim since Helix will show you a list of available commands and a description of the closest match (or the one you choose from the list with the tab key). It looks like this: Screenshot of Helix

    I use Helix for quickly editing files and coding

    • stochastictrebuchet@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Another vote for hx!

      Getting a productive setup for Python work is a matter of a few extra lines of TOML. The pre-release version on master also allows for multiple LSPs per language, which means I can combine pyright with ruff.

      The modal key chords are verb-object instead of object-verb. It’s not a main selling point to me. However, you get multi-cursors out of the box, which I’ve always found simpler than e.g. macros. In general, keybindings are discoverable. I learn something new every week.

      All in all, despite a few rough edges, it’s a nice alternative to needing to get a PhD in neovim configuration to get anywhere remotely near the cool setups other people are rocking.