The following gif demonstrates folding:

  • HayadSont@discuss.onlineOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    10 hours ago

    No no, don’t get me wrong. I think both Emacs and Neovim are excellent. And this little endeavor/search/pursuit has (perhaps more than anything) solidified (and gave context as to) why they’re in their own league.

    Like, I’ve tried about a dozen of text editors in last couple of days. And with most[1] of them I’ve failed to reproduce the functionality demonstrated in the gif.

    But even the very best of what I’ve tried since making this post pales -or at least seems to be*- in terms of extensibility. And, when we add in Emacs’ proven[2] longevity, it becomes hard to root for any of the alternatives. At least…, so far*.

    Still, I had to answer for myself if committing to Emacs (or Neovim for that matter) was justified given the fact that I had not a lot of experience with text editors 😅. Like, as funny as it sounds, I’ve moved from Word+StickyNotes to (GNOME’s) Text Editor to a bunch[3] of Markdown text editors to Emacs. And the switch to Emacs was mostly motivated when I saw Obsidian do the very thing you see in the gif 😂. But as cool as learning the ropes of Emacs was, I think I was experiencing some impostor syndrome shenanigans.

    Thankfully, it seems that this has mostly served to be a huge motivation boost. Perhaps I was (more than) ready to conquer Emacs all along…


    1. Heck, I’ve only been able to confirm that Kate and KDevelop at least do what has been advertised (by others). ↩︎

    2. Neovim is still relatively new. I don’t think I can justifiably vouch for its longevity yet. ↩︎

    3. I can recall ghostwriter, MarkText and QOwnNotes. ↩︎

    • Nibodhika@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      If you had started with that people would have told you that nothing comes even close. The closest things you will find are Atom (archived), Sublime (closed source) and Helix (still very new and no plugin support, but something to keep an eye on).

      Speaking of obsidian, the reason why it took me forever to start using Silverbullet is that Emacs has org-mode which does most of what Silverbullet/Obsidian do out of the box, plus some other stuff that they don’t do (e.g. excel like tables).

      But I wanted something I could edit remotely through my phone and web interfaces are better than using text editors over ssh connections. Also I have migrated from Emacs to Nvim, the reasons are purely ergonomical (pinky fatigue is a real issue) but after switching I found a jump in the way to think about an editor. Emacs is great, don’t get me wrong, and if you decide to learn Emacs I can assure you it will be the best editor you’ve used, but it still edits things at a character level, while there are concepts for matching brackets or quotes changing the text inside quotes in Emacs is very character oriented, I.e. go to start of quote, start marking, move to matching quote, delete, whereas in vim is sort of a higher level language where you say Change Inside Next Quote using cin", and expanded with some plugins you can even do srnq' to Surround Replace Next Quote with ’ (which will change the quotations on the next text from whatever to '). And that’s a lot closer to the way I think so it skips a mental step (plus it’s a lot less keystrokes and no Ctrl for my pinky).

      But those are the reasons why I switched, many people use Emacs for decades without ergonomic issues, whichever of the two you decide to learn you’ll understand why they’re the staple editors for most people who actually choose an editor.