Threads for archseer

    1. 18

      I wish so hard for either of:

      • helix growing a gui and plugin system
      • lapce growing helix/kakoune editing mode
      • zed shipping

      I’ve been programming for some time, and still don’t have an editor I can comfortably put at the foundation of my workflow :(

      1. 13

        helix growing a gui and plugin system

        It’ll happen! It’s just a lot of work… That said, thanks for making rust-analyzer a joy to integrate with! It’s certainly been one of the most spec compliant language servers :)

        1. 6

          It’s certainly been one of the most spec compliant language servers

          Heh, that’s surprising. Our relationship with LSP historically was, ahem, adversarial, we shipped a tonne of extensions for missing bits and I still recommend people to sometimes, eg ignore the spec :)

          Though, one thing we did early on is to outright crash and burn if we think we detect a spec violation. This allowed us to iron out a lot of bugs in many different clients, and even some of our own bugs :)

    2. 13

      I want to like helix, but my brain keeps thinking this is vim and there are too many vim shortcuts I apparently use all the time that don’t work in helix - or are just different. Is anyone else experiencing this?

      1. 8

        I’d say it’s painful for a day or two then you start adapting. I’m biased though of course :)

        1. 4

          I’ve been a Vim user for 15+ years. It took me a couple of days to get used to Helix shortcuts, but it was so worth it…

          I threw away years of Vim hacks accumulated in my ~/.vim dir and replaced them with a half-page config. I’m not going back!

          1. 1

            Can you share your config?

            1. 3

              Don’t expect much :)

              theme = "monokai_pro"
              
              [editor.lsp]
              display-messages = true
              
              [keys.normal]
              C-s = ":write-all"
              A-a = "save_selection"
              space = {t = [":write-all", ":sh tmux send-keys -t 0 last_test c-m"]}
              
              [keys.insert]
              C-s = [":write-all", "normal_mode"]
              

              Basically two key bindings, the most important one being my test runner for the tmux pane next to hx. Helix does the rest. Works like a charm for Go and TypeScript (every day at $JOB) and the occasional Rust project.

      2. 6

        Same. Muscle memory can be really strong. How cool would it be if there was a built-in tutorial where a text file is instructing you how to interact with it (maybe changing a simple block of text? Maybe a program in the coming levels), showcasing typical strengths of the highlighting-by-default flow, some refactoring, some search and replace etc.

        1. 15

          How cool would it be if there was a built-in tutorial where a text file is instructing you how to interact with it

          We do have this! It’s available via hx --tutor

          1. 4

            Wow that’s just lovely. Thanks!

      3. 2

        I had that problem too - until I remapped a few keys to avoid the pain points. See djacuen’s link in this comment thread for some example rebindings.

      4. 1

        I have been trying helix more and more. The subtle changes from vim keybindings are truly painful, but the undo is responsive. I need to come up with a better shortcut list, because typing the vim keybinding is one thing, not knowing how to do it at all in hx is another.