• nachtigall@feddit.de
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    1 year ago

    I recently gave it a try after seeing dessalines recommending it. It is pretty cool but years of vim muscle memory won’t go away so easily :D

    • FryboyterOP
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      edit-2
      1 year ago

      In my opinion, users who already use vim are not the primary target audience of Helix. I see the target group more among users who want to switch from a “normal” editor to a modal editor. The selection → action model and the easier shortcuts probably make the switch easier for many. I personally don’t like vim at all because of the handling (purely subjective view). Helix will definitely not be my default editor but I get along much better with it than with vim or neovim.

      • KiranWells@pawb.social
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 year ago

        When I first tried Helix, my main concern (that prevented me from getting too far into it) was not going from Vim to Helix, but the other way around. Vim (or sometimes vi) is a standard editor on almost any Linux machine, so if I am ever working on a server if a VM, I would need to know/use Vim keybinds. That made Vim a more useful tool for me to learn at the time, as I could use the skills both on my machine and anywhere else.

        • nachtigall@feddit.de
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          2
          ·
          1 year ago

          I don’t feel like this is true anymore. Many distros do not ship vi(m) anymore but only nano.

        • FryboyterOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Vim (or sometimes vi) is a standard editor on almost any Linux machine, so if I am ever working on a server if a VM, I would need to know/use Vim keybinds.

          I understand the argument, but in my opinion it is used far too often and is not always true.

          Not everyone works with servers on which they have no influence on the installed software.

          And in the few cases where I had to work with servers on which I had no influence on the installed software and on which actually only vim was installed, I could always use sshfs or rclone mount without any problems so that the editor I used didn’t matter.

          • KiranWells@pawb.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            In my (limited) experience, I most needed a CLI/TUI editor when working over ssh on a server or in a VM where I didn’t want to bother installing a new editor or setting up a remote editing connection, or inside of something like a docker container, where the image is somewhat immutable.

            If I needed to spend enough time editing that it made sense to set up an editor, then I could just spend the time getting VSCode or Neovim set up just as easily as Helix.

            I don’t really mean this as a criticism of Helix, just explaining why I did not initially want to invest time into learning it. Now that it has matured more and I have learned Vim enough to be comfortable, I would be interested in taking another look.

      • nous@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I disagree with that. Yes users new to modal is likely a target - but as a long time and heavy vim user I do find helix to be much nicer to use and have switch to it full time. So I think that vim users that are sick of all the configuration and plugins needed to get it into a good state are also a strong target for helix.

    • Kasion@lemmy.mackners.com
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      I agree, never understood why they changed a lot of basic shortcuts away from what vi/vim/neovim uses.

  • devfuuu@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 year ago

    Been using it on all my machines for many months now. Replaced all my basic usage that I had of vim/neovim and all the attempted and failed customisations and plugins I had tried to install. It works very well for console editing any file I need to reach without being overwhelming with weird short cuts I’ll never be able to learn and with nice enough UI/UX that guides and teaches. Even better the integration with lsp allows to launch some project files and have the basics like go to definition kinda work.

    Tried to learn vim for many years without being succefull in doing much more than just moving around and inserting/deleting text with the most basic commands.

    It’s great for anyone that doesn’t want to go the vim route but still get a powerful editor to learn.

    • leo85811nardo@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      While I totally understand the struggle of learning Vim, I would still recommend it over Helix for the fact that most popular IDE support “vim mode” or “vim plugin”, making vim not only a text editor but also a popular workflow across development environments. I would totally try out Helix if the key memory isn’t only restricted to the Helix program

  • natecox@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    I am a fairly long time emacs user, used it as my primary editor and note taking app for around six years. I have a config large enough to warrant its own git repo separate from my normal dotfiles.

    Before emacs I used vim for several years.

    After really getting into Rust, I decided about three months ago to just take a look at helix and see what it was about… and I haven’t opened emacs or vim again since.

    LSP and tree-sitter cover like 90% of what my old config was doing out of the box, and the kakoune inspired key bindings just felt so natural. I feel at home without the overhead of configuration paralysis.

    Don’t get me wrong, helix has plenty of room to grow, but I’m excited to grow with it.

  • zygo_histo_morpheus@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    I sometimes play around with Helix and I almost always have a good time, but there are too many vim features that I have integrated in my workflow that there isn’t any good equivalent to in Helix. I use ex commands, the quickfix list, snippets, the fugitive plugin and just little custom commands and mappings that I’ve accumulated. I don’t see myself switching to any editor full time that doesn’t have a replacement for most of these features, but Helix is very nice and fun to use occasionally.

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      ex commands

      Are these for scripting outside of vim (but using vim)? If so you can probably still use these with vim and helix for interactive editing. Unless I am misunderstanding what you mean by that feature.

      quickfix list

      <space>d (current file) and <space>D open a window of issues as reported by the current LSP which you can use to jump to the selected issue (with fuzzy filtering).

      snippets

      Looks like there is some basic support for lsp snippets which looks like you can add your own but a wider issue for better snippet support is being tracked here. So not ideal yet, but will hopefully improve over time.

      fugitive plugin

      It does have git gutter support and the :reset-diff-change command currently. And you can run git commands with :sh git ... though that experience could be improved. Staging changes is still pending here as is diffing changes here which look like there is work slowly being done on these.


      So there are some workarounds for some of the things you need - and improvements being made to those that are missing. Might take some time for these areas to improve though and it depends on how you use those features as if/when things are good enough for your usecase.

      • zygo_histo_morpheus@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        There are many cases I actually prefer the quickfix list to an interactive picker:

        • When working on a very large project, such as my $DAYJOB, interactiveness gets in the way more than it helps if you’re running a slow command (like greping a large number of files)
        • You can use :Cfilter to filter things matched in the quickfix list and :colder/:cnewer to navigate the history of the quickfix list without having to rerun the command
        • You can run ex commands on the items in the quickfix list, like :cdo norm gcc to comment the matched lines (with the vim-commentary plugin), run a macro with :cdo norm @q, or :cdo yank A to put all the matched lines in the a register for example. You can also do stuff like :cdo -10,+10g/re/p to print all lines matching some regular expression re within the range of 10 lines before to 10 lines after the match.
        • You can put more things in the quickfix list than you can with interactive pickers, like :Git diftool to get diffs. Vim also has support for parsing the output of many compilers and linting tools so you can use e.g. :compiler cargo followed by :make to build the current project with cargo and get any build errors in the quickfix list.

        In short, interactive pickers are better for browsing, but the quickfix list is better for scipting and holding on to data for longer without having to rerun commands, and can with some basic scripting be used for more things.

        Afaik helix doesn’t have diff capabilities which is also a major thing missing from my git workflow.

        I expect some of these things to make it into helix eventually, particularly git stuff, but I would be surprised if they add support for more weird janky vim stuff like the quickfix list and ex commands, which is a valid design decision, but they are also very useful tools once you get your head around them.

  • hunte@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    1 year ago

    I kinda like Helix, I just don’t really know what’s the point of it. Some of the Kakoune bindings are marginally better than the vim default but any efficency I might get with it I instantly lose when trying to re-learn things or getting confused when I hop on a vim terminal on an other machine.

    Kind of the same with the editor, it’s like a ‘batteries included vim’ but I can just get that with a really light vim config and not mess up my workflow.

    I guess it’s might be cool if you are getting into it as your first modal editor but even then, if you want to use other stuff or need to use some different tools getting a vim extension will probably be easier than getting a Kakoune one.

  • jennraeross@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I love Helix! It’s pretty much replaced Vim for me, which was previously my preferred editor for quick changes, as opposed to loading up VSCode for when I’m putting in some sustained work.

    Helix required a small amount muscle memory change, but nothing major, and in return I have a text editor which, due to sensible defaults, is exactly the same on all of my devices. I don’t need to mess around with plugins (Vim plugins are fun, mind, but it’s kind of a waste of time if Helix meets my needs out of the box.)

  • Louis Dureuil@lemmyrs.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I love the treesitter based movement (allows to move to beginning/end of a function), and the jump list (list of the locations where the cursor went, cross files and easy to navigate… Vscode really misses this).

    I miss a debugging experience at least comparable to Vscode’s with rust analyzer (ability to start the debugger on a single test case without having to look for the executable’s path) to be able to use it day to day. To be honest, competing with vscode is always going to be difficult

  • diggredditlemmy@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I downloaded it and it’s pretty good, but even as someone who only uses vim / nvim on a needs basis I’m not sure I have the willpower to learn these new shortcuts.

  • acabjones@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I’ve been trying helix and the built in LSP integration is excellent. Out of the box it’s capable of a lot when paired up with a good language server. The equivalent LSP integration on neovim takes some fat plugins.

    I will say helix seems immature in a few areas. I noticed it’s missing tab layouts present in vim. Also might it not be impossible to resize splits? There’s also no linewise selection mode.

    Helix out of the boz is close to my 15 years of accumulated vim config, but it seems like it’s not quite there yet.

  • mrmanager@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    I want to like it but I just don’t… I hate that it has words selected all the time, doesn’t look clean and makes it all feel slower.

  • lukas@lemmy.haigner.me
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    Neat, but we already have good text editors. Vim/Emacs/… starter kits achieve the same experience. Perhaps Helix is more responsive than established text editors, but that’ll crawl to a halt as more packages depend on behavior you want to change.

    • gfle@szmer.info
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Vim/Emacs/… starter kits achieve the same experience.

      Which Vim/Emacs/… starter kit sets up the same keyboard navigation model as Helix uses? I think that it’s its main strength, the selection -> action approach, which is quite intuitive (at least for me once I’ve tried) is what really matters in Helix. The rest is just an addition, the one that makes it a quite competent and convenient environment to work with, but an addition.

      • lukas@lemmy.haigner.me
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Which Vim/Emacs/… starter kit sets up the same keyboard navigation model as Helix uses?

        Emacs 29 supports tree-sitter out of the box if you’re referring to code navigation. No starter kit uses Helix keybindings yet afaik.

        I think that it’s its main strength, the selection -> action approach, which is quite intuitive (at least for me once I’ve tried) is what really matters in Helix.

        I saw the Helix demo video and that aspect feels like extra steps to me. Perhaps the wiki is poorly worded, but I can select a word, a paragraph, a line, etc. and then delete, change, yank, etc. it in Emacs. Although I also have the option to ignore that approach wherever appropriate. I don’t need visual help to delete the next word, Emacs can do that for me with one keybinding.

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Starter kits for vim/emacs IMO are a band-aid on the fundamental problem with them - poor default settings for the majority of use cases. I do think that an editor that takes the out the box experience is sorely needed in the cli editor space that helix fills quite nicely.

      The big problems with starter kits is they are more fiddly to install - often require you to curl | bash some random script. They tend to mess around with your users config files in ways that you don’t always expect. And they require you to keep up to date a large amount of plugins that sometimes end up breaking for various reasons. All of this adds some friction to new users.

      Yes less friction than creating the configs and fetching the plugins yourself as you need to in vim/emacs. But helix remove all that fiction by just including all people expect from a modern editor from the start.

      So I think it does a disservice to discount it completely just because starter kits can do a similar thing after you manage to get them installed.

      but that’ll crawl to a halt as more packages depend on behavior you want to change.

      I am not sure what you mean by this?