• Luna@lemdro.id
    link
    fedilink
    English
    arrow-up
    35
    ·
    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

    • Dessalines@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      Same, I switched to helix about a year ago, and do all my coding (except for android because of they don’t make it easy to not use android studio).

      I was on vim for decades, but helix is finally the one that’s powerful enough to make me switch.

      • DeprecatedCompatV2@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        You can also use Intellij Ultimate, the only big missing features are project config if you have mismatched versions of Gradle/AGP/Kotlin as well as the profiler.

    • stochastictrebuchet@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      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.

    • ntzm [he/him]@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I really like Helix! When the plugin system comes it will be great, because it’s definitely missing some key features