• aard
    link
    fedilink
    291 year ago

    I always get annoyed when I’m on some system and nano pops up and I need to figure out how to kill that thing.

      • aard
        link
        fedilink
        -151 year ago

        It shows a message which wastes valuable screen estate, especially on low resolution terminals, containing a message I have to read every single time because the keys are not in muscle memory, and never will because the bindings are stupid.

        On systems I have control over the reaction to nano popping up is exiting, removing it, making sure the package system blocks reinstallation attempts, and go back to what I was initially doing in a sane editor.

        • @nixcamic
          link
          131 year ago

          My man, most of us aren’t connecting to our mainframes on VT20s these days. Even on my phone screen the three extra lines nano takes over vi aren’t a problem.

          Also if you have the time to go through all that you have the time to learn ctrl+x.

            • @nixcamic
              link
              6
              edit-2
              1 year ago

              I know you kid but even the 3ds fits a decent number of lines on screen.

    • @mvirts
      link
      71 year ago

      Same. As a vim user I now can’t quit nano.

      • @voidMainVoid
        link
        121 year ago

        Why is Ctrl-X intuitive? Shouldn’t it be Ctrl-Q (for “quit”)?

        • @mihnt
          link
          English
          51 year ago

          CTRL+eXit

          • @voidMainVoid
            link
            91 year ago

            In most apps, Ctrl-X means “cut”, not “quit”. Especially when it’s a freakin’ text editor!

            I will grant you that it’s more intuitive than vi, but that is a very, very low bar.

            • @GoosLife
              link
              31 year ago

              Ctrl-X in Nano is arguably more nonsensical, considering that vi was made in an era long (decades) before many of the conventions we know today came about. They were figuring it out in real time. And the criterium here is much simpler: it must be available on all keyboards so no fancy keys. That’s all.

              On the other hand, when nano decided to use Ctrl+X for eXit, Apples Ctrl+X/C/V had already been brought over to Windows and Apple, and was also the de facto way for most Linux apps to handle these inputs although I do think it came before any “official” efforts to standardize these shortcuts in desktop environments.

            • @[email protected]
              link
              fedilink
              English
              -3
              edit-2
              1 year ago

              It doesn’t have to be X, just the fact that it uses modifier keys is enough. It could be Q or anything else, just please, for the love of god, we live in the 21st century now, all keyboards have modifier keys, please, add modifier keys shortcuts as well.

            • @Reddfugee42
              link
              51 year ago

              I know I always try GUI methods in console

              • @[email protected]
                link
                fedilink
                English
                -2
                edit-2
                1 year ago

                That’s normal for people that didn’t grow up in the 70s and 80s and GUI wasn’t the first thing they knew. I was a teen in the late 90s and early 00s, so yeah, we had GUIs for almost everything.

                We’re basically trying to do catchup with the cool kids, but let’s face it, they live somewhat in the past regarding modifier keys and vi/vim.

        • UnfortunateShort
          link
          41 year ago

          Because it also sends the kill signal in every terminal I’ve witnessed yet… And you have it right on screen the second you start Nano.

          • @mvirts
            link
            121 year ago

            I’m over here using Ctrl c all over the place to kill stuff…

          • @GoosLife
            link
            51 year ago

            Can you please elaborate on the first part? It is not standard Linux terminal behavior to send the KILL signal on Ctrl+X.

            • UnfortunateShort
              link
              11 year ago

              Actually, you are right. I will stand by my point that Nano tells you what to press, but I wonder where I got the stuff about Ctrl+X… I am very positive that I have used it at some point (outside of Nano), but maybe my brain is playing tricks on me 🤔

        • @[email protected]
          link
          fedilink
          English
          2
          edit-2
          1 year ago

          Because nano just shows how to exit, as well as some other basic functions at bottom

          • 𝕯𝖎𝖕𝖘𝖍𝖎𝖙
            link
            5
            edit-2
            1 year ago

            result: Very intuitive like vim.

            1. gg - top of the file
            2. /un - find “un” place cursor at u
            3. 2x - remove 2 characters
            4. ?- - search backwards for the character -
            5. d/like - delete everything up until the characters like

            See, intuitive!

            • @[email protected]
              link
              fedilink
              English
              0
              edit-2
              1 year ago

              I don’t do that much search and replace in any terminal based text editor to actually use that on a regular basis. If I need edits like that, I use a GUI text editor.

      • @Moshpirit
        link
        11 year ago

        Why not just using Micro? Ctrl + Q. Intuitive af

        • @[email protected]
          link
          fedilink
          English
          1
          edit-2
          1 year ago

          Yeah, sure, that works as well.

          As long as I get to use modifier keys, almost anything is fine with me. We don’t live in the 70s, that was 50 years ago. If backwards compatibility is what they’re after, I’m sorry but I think they overdid it. Plus, you can just add them, the defaults don’t need to be changed.