Which text editor do you use?

    • barzaria@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      This command will literally overwrite the file that you do whenever you try to edit it. You need two >> to append at the end of a file, but it’s super-duper hard to put text in the middle of a file from the terminal. That is why people use editors, for sure. Now that I think about it, there probably is some psychopath who uses the actual command line as an editor. They’re probably more elitist than Vim users lol.

  • PieMePlenty@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    My requirements for a text editor:

    • it displays ‘A’ when I press the ‘A’ key
    • doesn’t require more than 1 minute of learning to use it

    Bonus points if it comes pre installed.

  • oysvendsen@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I’m a emacs guy, but nano should be the only one installed by default. The default editor should tell you how to exit!

    • EnsignWashout@startrek.website
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      Not our fault everyone blows past the kind offer of : vimtutor on startup! (I kid. The default editor shouldn’t require a class.)

      You’re 100% correct. Nano is a perfectly reasonable default.

      That said, it is 2026. It also wouldn’t kill us to default to an interactive one-time prompt that defaults to nano, but offers one or two others, and removes itself after setting the user’s choice.