me like use nano. nano say how do thing. nano exit easy.

  • MehBlah@lemmy.world
    link
    fedilink
    English
    arrow-up
    169
    arrow-down
    4
    ·
    5 days ago

    The image is misleading. The brain sizes represent the amount of grey matter it takes to operate the editor. The nano guy has plenty of brain power left over for things like hygiene, breathing and basic reasoning.

  • AlbatrossFanboy@programming.dev
    link
    fedilink
    arrow-up
    13
    ·
    4 days ago

    I don’t get why there’s so much prejudice towards nano users in the Linux community, people act like nano is useless but it performs its job well, and it does it without being large or overly complicated.

  • Francislewwis@lemmy.world
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    4 days ago

    Honestly nano is perfect for quick edits. Vim and Emacs are powerful, but sometimes you just want to open a config file, change one line, and exit without fighting the editor. 😄

  • ruuster13@lemmy.zip
    link
    fedilink
    arrow-up
    62
    arrow-down
    1
    ·
    5 days ago

    I do appreciate this in nano. It helps me complete the new container config occasionally required to install vim.

    • faintwhenfree@lemmus.org
      link
      fedilink
      English
      arrow-up
      37
      arrow-down
      1
      ·
      5 days ago

      I’m team nano, I’m not smart enough to use the other two and for whenever I need to open a text file in terminal only environment once every year I can remember how to navigate nano. So I’ll keep using nano.

      • It has nothing to do with intelligence. vi and emacs are just rote memorization and also endless installation of plugins and configuration. They are slow to pick up, but very powerful and also ergonomic once you know what to do.

        A modern GUI like CSCode is faster to pickup and immediately very powerful.

        A good emacs or vim configuration tailored to your needs can stay with you for decades. It’s stable, reliable, and does everything already. vim has released less than one point update per year for more than 2 years. During that time Sublime and VSCode had dozens, if not hundreds.

        For most people the choice of editor doesn’t make a huge difference. They spend far more time reading than writing code.

        Nano is the right choice for you.

      • Mika@piefed.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 days ago

        I use emacs but it’s only convenient to me with a lot of custom stuff on top. Vanilla emacs tho, hell no.

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      5 days ago

      Yes. It’s newby-friendly, what is great for the time every 2 or 3 years that it opens in my face and there’s no alternative editor installed.

      Copy and paste are there too, but there’s no reason to use them instead of the terminal buffer, so I can edit things in an editor I like. I just wish it made it easier to delete several lines at the same time.

  • Cevilia (they/she/…)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    1
    ·
    5 days ago

    Fortunately, every computer comes equipped with an “exit editor” button. It’s on the back, attached to the power supply unit. You just flick the switch. Exits every editor known to humanity. /j

  • hedders@fedia.io
    link
    fedilink
    arrow-up
    48
    arrow-down
    2
    ·
    5 days ago

    Never ceases to amaze me how people get so exercised over a text editor.

  • smh@slrpnk.net
    link
    fedilink
    arrow-up
    32
    arrow-down
    1
    ·
    5 days ago

    I love nano. I used to do tech support for a Linux-based content management system (before SAaS take took off)… The customer sysadmins were sometimes whichever engineer was volun-told to do it, so competency varied wildly.

    I helped mostly with installs. This might be the poor newbie sysadmin’s first time on the command line. Nano was my go-to suggestion for editing config files–all the commands are right there! Much less intimidating than vi or emacs for a newbie.

  • Hemingways_Shotgun@lemmy.ca
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    2
    ·
    4 days ago

    nano is usually built in. Adding another one is just redundant if all you’re using it for is editing an occasional config file.

    Honestly never understood the hate for it. Who cares? Petty, stupid, nerd-wars over little crap like a text editor is the reason average people don’t even consider linux.

    • Skullgrid@lemmy.worldOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      4 days ago

      I very rarely see people hate nano (except a few comments in this thread), and I always see nano recommended as the text editor when people give advice on doing things in the command line

    • kkj@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      I see vim preinstalled more than nano (e.g. in container images). I’ve been trying to convert to micro, though. It has better support for terminal emulators than nano.

  • fartsparkles@lemmy.world
    link
    fedilink
    arrow-up
    39
    arrow-down
    4
    ·
    5 days ago

    micro enters the chat.

    Static, portable binary with no dependencies.

    Out of the box:

    • Syntax highlighting
    • Multi-line cursors like Sublime Text
    • Mouse support (works incredibly well)
    • Splits and tabs for working on multiple files
    • Diff gutter
    • Copy and paste with system clipboard
    • Cross-platform (runs basically on anything that Go does)
    • Sane key binds (ctrl-s, ctrl-c, ctrl-v, ctrl-z, ctrl-x, etc)
    • Terminal emulator
    • Plugin system to extend it
    • And much much more

    I have nothing to do with the project but this binary is the absolute best. curl or wget to any host and away you go with effectively a Sublime Text / VSCode like in the terminal. It’s as simple as nano and as functional as a well configured and extended vim.

    It’s baffling it’s not more well known and not installed by default on major distros.

    • 0ops@piefed.zip
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      5 days ago

      I use nano because I can’t be assed to memorize key bindings, but I’ll give this a go

      • caseyweederman@lemmy.ca
        link
        fedilink
        arrow-up
        3
        ·
        4 days ago

        Hahaha
        Memorize
        Okay guess what the keybind for Copy is in micro
        Go on, guess
        YEAH THAT’S RIGHT IT’S CONTROL+C
        Now guess what Paste is
        YOU GOT IT
        Quit? Find? Undo? Save? Open?
        If you guessed anything weird, that’s on you.
        My only complaint is that Ctrl+N is “find next” instead of Ctrl+G, but you can remap keybinds at will, so it’s not that big of a deal.

    • MaggiWuerze@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      5 days ago

      If only I could get copy paste working when using micro over ssh. inside a document it works fine but I can’t get it to put stuff on my system clipboard

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 days ago

        to use the system clipboard I select with the mouse while holding shift, then do ctrl-shift-c iirc. That’ll use the terminal emulator highlight and the system clipboard. At least on my machine, using kitty. Idk all the pieces that need to be in place for this to work.

        • caseyweederman@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          4 days ago

          Yep, and then Ctrl+Shift+V for paste.
          But if you’re pasting from Micro to Micro, and it’s from the same session (horizontal/vertical splits, other tabs, elsewhere in the same document), you don’t need to go to the system clipboard and can drop the Shift.

    • CodeMonkey@programming.dev
      link
      fedilink
      arrow-up
      1
      arrow-down
      5
      ·
      5 days ago

      How many Linux distros include micro in their minimal image? Vim, emacs, and nano are good because I can connect to just about any container or Linux VM and expect to have all of them available.

      Let’s say I have a test that always passes on my machine but fails in CI. If I can get a terminal on the test runner, I can open up my test code in vim, add extra logging and error handling, and rerun the test to check my fix.

      I am not going to install additional editors in a VM that will be recreated next time I push a code change. If I am setting up a development environment for long term use, I will install my favorite IDE and configuring all the bells and whistles.

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 days ago

        the same old argument that anal sex is good because it works on more people

        you might appreciate it, but being preinstalled is not the selling point you think it is. I spend hundreds of times longer in the editor than installing it. I want something good while I’m using it. I don’t care if it takes me 30 seconds to install, and maybe no one should.

  • cepelinas@sopuli.xyz
    link
    fedilink
    arrow-up
    29
    ·
    5 days ago

    nano is just a text editor, I use it as a text editor, it has keybindings on screen by default, no need to config or memorise, why bother? (for text editing, not whatever people use vim or emacs for)

    • AbsolutelyClawless@piefed.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 days ago

      Kind of, but not really? Nano by default displays US English(?) keyboard bindings which are different to the keyboard I have, so I still have to have a cheat sheet open when I’m on a system with nano-only editor.