Which one to choose for development? Advantages & disadvantages of each?

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

    I use Emacs and have been since around 1986. If you’re big on extensibility, Emacs has the elisp programming language built in. Vim used to be more performant than Emacs, but with today’s processor speeds, it is hardly an issue. Emacs can emulate other editors, and as someone else mention Doom Emacs gives you the best of both worlds.

    If you are on a Mac, all the text boxes already use Emacs keystrokes. Ctrl-a = Beginning of Line, ctrl-e = End of Line, ctrl-k = Kill to End of Line, ctrl-d = Delete Character, etc.

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

    I would say the same as most it really depends on what you are doing, I program in Lisp a lot so Emacs is a natural fit. Vi/Vim/Neovim are in my opinion Technically better they are smaller and simpler however Emacs is a much bigger and more versatile. I ended up choosing Emacs specifically because it was bigger and more versatile. I do plan on giving Vim a try again sometime to see if it fits my needs better, once learning Vim Keybinds/Motions I find it relatively easy to switch between them, except when it comes to the editor specific apps like Org Mode.

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

    I use Neovim with a custom config, personally - Though I do currently have “look into Doom Emacs” on my personal todo list … So it really depends on what you’re after honestly.

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

    Used to be a huge Emacs nut (ı still like it) but i converted to neovim because its more practical in a modern sense but helix is slowly taking me over. especially due to its speed and still looking very beatiful by default

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

    If you love hacking/customizing your system and willing to spend time on it, go with Emacs. If you want something lightweight and fast with moderate customizability go with Neovim.

  • lascapi@jlai.lu
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I don’t have the solution.

    I just want to say that I try helix since few weeks and it’s nice!

  • PaperDevil@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Very interesting question indeed, one that is often debated among programmers.

    It ultimately comes down to what suits your personal style and requirements.

    Mostly, both have strengths and weaknesses, so it’s hard to universally recommend one over the other.

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

      I used to be on the vim side of things. But recently have switched to helix. It is a modal editor similar (but a bit different from vim) but with most of the things you need plugins for built in, so no need to spend hours finding plugins and configuring things.

      But whichever you like is really a personal preference. I have seen far more people use vim in the wild than Emacs. And you can configure Emacs with vi input mode.

      If you work with servers knowing basic vi is a must as it is often the only editor installed on the system.