Which text editor do you use?

  • nixx@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 hours ago

    The reasons us elders use VI is because on a new installation, it was the only thing available until:

    1. You are lucky enough to find a compiled version of PINE/PICO, or

    2. You have the compiler installed, and can get the source code and build it yourself.

    For some reason, some elitists decided that if you don’t know that, then you are a failure. But honestly, when modern distros started coming out with WYSIWYG-type editors, it was a relief, even though I reverted to VI/VIM because of muscle-memory, I do not push it on new users. It’s the same argument people make for driving manual vs automatic, sure it’s useful, but when was the last time you even saw a manual car? (At least in North America).

    You want to live dangerously, go ahead and put NetBSD with just the basics and leave the rest of us who want to do something useful alone.

  • Rolivers@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day ago

    Nano because I’m too lazy to learn vim or emacs. I want something that works and not something that operates like cheat codes in old video games.

  • Un trop vert timide
    link
    fedilink
    arrow-up
    2
    ·
    23 hours ago

    I use

    1. sublime-text when not confined to a terminal
    2. nano for example with git’s CLI
    3. vi/vim when the others are not available.
  • Digit@lemmy.today
    link
    fedilink
    English
    arrow-up
    22
    ·
    2 days ago

    It’s worse than the picture depicts. It’s not just the lovers, the elitists and the evangelists, it’s the sheer range of choice too, beyond the loudest.

    same cat surrounded by dozens of text editor courgettes that look like snakes

  • Cypressed
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    i miss notepad plus plus, that’s pretty much the only thing i wish i still had from before linux though.

  • Allero@lemmy.today
    link
    fedilink
    arrow-up
    22
    ·
    2 days ago

    First choice: use a normal damn GUI text editor

    Second choice: Nano. It’s simple and comprehensible, and a best CLI choice for newbies. You can then turn to vim, emacs, or whatever, but don’t make your life harder from the get-go

    People suggesting to start with Vim are probably the same ones pushing for Arch as a first distro. C’mon.

    • zerofk@lemmy.zip
      link
      fedilink
      arrow-up
      12
      ·
      2 days ago

      That’s how you breed scrubs who can’t M-x-butterfly. I say give them a distro that boots into vi and starts a background process that block internet access around them. If they manage to quit vi and kill the daemon, they’re ready for Linux.

    • da_cow (she/her)@feddit.org
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      use a normal damn GUI text editor

      The right choice as long as you don’t want to edit code/config files. Trust me, writing code inside libre office is not fun.

      • cockmushroom@reddthat.com
        link
        fedilink
        arrow-up
        8
        ·
        1 day ago

        Libre office isn’t a text editor it’s a document processor; more like a gui for something like TeX, or realisticially html, than a program for reading/editing plain text.

      • Allero@lemmy.today
        link
        fedilink
        arrow-up
        7
        ·
        2 days ago

        Kate is a basic GUI text editor that can highlight syntax, suggest options and do other things useful for code and configs. Comes with KDE (which is a common newbie recommendation) and is available as Flatpak everywhere else.

        But sure, there are instances where you should use CLI text editors. If you need to edit text files as root, this is generally the best option. Also, it’s the only option for headless setups and SSH. For that, nano will do.

  • ian@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    I think it comes with a text editor already built in. I don’t need a text editor though.

  • this@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 days ago

    All I’m gonna say is than nano is installed on almost every Linux os and has the keyboard shortcuts written on the UI.

    • cockmushroom@reddthat.com
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      Who doesn’t have vi/m?

      Fwiw, helix also gives visual feedback on bindings if a key is a table for mutiple bindings.

      • this@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 day ago

        I’m sorry I don’t see how that’s relevant to my point.

        I’m saying that of all the text editors, nano is the one that usually takes the least amount of effort to learn and set up. Both of those options require either learning or set up, so why would I choose them if convinience is what I’m after?

        • cockmushroom@reddthat.com
          link
          fedilink
          arrow-up
          0
          ·
          9 hours ago

          I was just asking which distros don’t have vi/m. The helix point was an aside. It wasn’t combative, just curious.

          • this@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            0
            ·
            3 hours ago

            I wouldn’t know tbh. I’ve never had any reason to use anything other than nano for a terminal text editor.

  • Wirlocke
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    When I uninstalled Windows and switched to Linux (CachyOS (which is Arch BTW)) I also took the time to free myself from VScode to completely escape Microsoft’s fuckery.

    I learned how to use Neovim. I’ve got a configuration that I really like and I took care to make it portable enough that I can just copy over the init.lua file to set everything up on a different computer.

    However this is only earned through weeks of Lua hell. You are effectively building your own editor from almost the ground up. I only recommend Neovim if you want the first medium scale project you work on to be Neovim itself.