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

  • MehBlah@lemmy.world
    link
    fedilink
    English
    arrow-up
    134
    arrow-down
    3
    ·
    2 months 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.

  • fartsparkles@lemmy.world
    link
    fedilink
    arrow-up
    31
    arrow-down
    4
    ·
    2 months 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.

    • CodeMonkey@programming.dev
      link
      fedilink
      arrow-up
      1
      arrow-down
      4
      ·
      2 months 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
        3
        ·
        2 months 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.

  • Cevilia (they/she/…)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    1
    ·
    2 months 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

  • Francislewwis@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    2 months 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. 😄

    • creation7758@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      This is what i use vim for. Vim doesn’t necessarily have to be a full blown ide with 30 plugins

  • Steamymoomilk@sh.itjust.works
    link
    fedilink
    arrow-up
    10
    ·
    2 months ago

    Some real talk.

    Can we just include the 4 most popular text editors on basic systems??

    Like i wanna scream when there isnt my text editor installed on a lightweight distro.

    Vi Emacs Micro Nano

    For context,

    Debian ships with nano and vi Openwrt only ships with nano

    Like cant we just include small editors. In a perfect world i would want neovim installed. But i understand its larger and has alot more dependency’s.

    So having VI isnt as good but im willing to be reasonable.

    JUST INCLUDE VI

    the reason i learned vim is because VI is installed by default on almost every distro.

    Im tempted to try emacs tho

  • Grass@sh.itjust.works
    link
    fedilink
    arrow-up
    9
    ·
    2 months ago

    I used some distro with vim back in the day and I just kept using it. I lose my shit when I use something with just nano and my muscle memory tries to do a vim thing.

  • AlbatrossFanboy@programming.dev
    link
    fedilink
    arrow-up
    7
    ·
    2 months 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.

  • Hemingways_Shotgun@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    3
    ·
    2 months 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
      4
      arrow-down
      1
      ·
      2 months 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
      ·
      2 months 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.

  • Bilb!@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 months ago

    Linux text editor discourse has been baffling to me for decades now. I don’t care which you use, and I care even less about why.

  • I Cast Fist@programming.dev
    link
    fedilink
    arrow-up
    6
    arrow-down
    2
    ·
    2 months ago

    Emacs is a table saw, vim is a chainsaw, nano is a scissor. Every problem those 3 solve is a differently sized single sheet of paper.