I think the possible valid answers are: “vi”, “emacs”, “both”, “seriously it’s 2024”, and " huh?"

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    10 months ago

    Vi.

    Honestly, Vim is too heavy for me. I wish I could get a reasonable text editor with:

    • No built-in programming languages.
    • Vi(m)-style modal editing and keys.
    • No GUI. Terminal is good, thanks.
    • Not a lot of moving parts.
    • Infinite undo. (I’m ambivolent about an undo/redo “tree” feature like Vim has.)
    • Visual mode like Vim has.
    • Simple syntax highlighting would be a plus, but not a must-have.
    • Stable. As in doesn’t crash.

    Vim fails on #1, #4, and #7. (It has syntax highlighting, but not simple highlighting.)

    I usually just use the vi that is pre-installed on Arch Linux. (I use Arch Linux btw. Bite me. 😈) But it fails on #5, #6, #7, and #8. (It segfaults randomly a lot.) But I guess those issues haven’t been deal breakers enough to make me switch to something else.

    I have used nvi in the past. I ended up leaving it for the Arch pre-installed vi. Don’t remember particuarly why now.

    Maybe one day I’ll write my own text editor and ascend to full neckbeardhood.