Which text editor do you use?

  • nixx@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day 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
    9
    ·
    2 days 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.

  • Digit@lemmy.today
    link
    fedilink
    English
    arrow-up
    27
    ·
    3 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

  • Allero@lemmy.today
    link
    fedilink
    arrow-up
    22
    arrow-down
    1
    ·
    3 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
      13
      arrow-down
      2
      ·
      3 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
      8
      ·
      3 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
        ·
        2 days 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
        ·
        3 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.

    • uniquethrowagay@feddit.org
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      3 days ago

      Kate is by far the best GUI text editor I ever used. And unless it’s a short config file and I use nano, I want GUI. It’s not the 80s anymore!

    • yetAnotherUser@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      3 days ago

      It has a few quirks I utterly despise :(

      Like it cannot print invisible characters. Had a script create some broken folders with a BOM character at the beginning. I couldn’t access the files in any way except that they appeared in dolphin and ls. Had to delete them via the fucking inode.

      I was forced to use VSCode (an open source fork at least) to find out what the fuck was wrong with the input file the script used to generate the folder name.

      • EnsignWashout@startrek.website
        link
        fedilink
        arrow-up
        5
        ·
        3 days ago

        Like it cannot print invisible characters.

        I was looking at an option to display invisible characters in Kate like last week. So it got better, I guess.

        • yetAnotherUser@discuss.tchncs.de
          link
          fedilink
          arrow-up
          4
          ·
          3 days ago

          Only non-printable spaces from what I can tell.

          The BOM character does not fall into this category and is still invisible. Try pasting it into Kate. It’s between those arrows:

          ---><---
          
          
  • Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    90
    arrow-down
    2
    ·
    edit-2
    3 days ago

    Me no love nano, me brain only can use nano.

    E macs scary. vim no let me leave :(

    • Cris_Citrus (he/him <3)@piefed.zip
      link
      fedilink
      English
      arrow-up
      18
      ·
      3 days ago

      You might like micro :) its like nano but with more user friendly features like Ctrl+s for save, and clicking places to change cursor location. I think you have to enable the “cheat sheet” of keyboard commands being visible all the time if you want it to always be showing like I do

      It also supports extensions but I don’t really care about that lol. I just want something simple with nice ux :)

  • this@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    ·
    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
      ·
      2 days 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
        6
        ·
        2 days 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
          1
          ·
          1 day 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
            1
            ·
            21 hours ago

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

  • plateee@piefed.social
    link
    fedilink
    English
    arrow-up
    67
    ·
    3 days ago

    vim, because that’s how my father taught me, and how his father’s father taught him.

    Choose vim! The generational trauma of file editors!

    • EnsignWashout@startrek.website
      link
      fedilink
      arrow-up
      5
      ·
      3 days ago

      haha!

      Sometimes I feel like my side of the holy war isn’t engaging in completely good faith.

      I might switch sides to emacs if my fingers were long enough to reach the key combinations.

      Maybe I’ll go try it, anyway!

      What was the command to exit vi, again…?

      • alsimoneau@lemmy.ca
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        3 days ago

        The same as for man pages and less and a bunch of other cli tools.

        Q. For Quit.