• nachtigall@feddit.de
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    2 years 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

    • Fryboyter@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      2 years 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
        ·
        2 years 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
          ·
          2 years ago

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

        • Fryboyter@discuss.tchncs.deOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years 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.

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

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

  • natecox@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 years 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.

  • devfuuu@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    2 years 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
      ·
      2 years 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

  • zygo_histo_morpheus@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years 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
      ·
      2 years 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
        ·
        2 years 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
    2 years 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.

  • Louis Dureuil@lemmyrs.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years 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
    ·
    2 years 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.

  • jennraeross@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.)

  • mrmanager@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    2 years 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.

  • Fedora@lemmy.haigner.me
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    2 years 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.

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years 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?