• Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      27 days ago

      Doesn’t that just cut one line at a time? Or is this Emacs-like, where it buffers the lines?

      That host doesn’t have internet access, though, so installing a different editor wasn’t really an option to begin with…

      • SpaceNoodle@lemmy.world
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        27 days ago

        If the host doesn’t already have nano, you fucked up super early

        But yeah, it buffers the lines.

      • clb92@feddit.dk
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        26 days ago

        Doesn’t that just cut one line at a time?

        Move the cursor to the start of what you want to cut, press ALT+A, then move the cursor with arrow keys (you’ll see text be highlighted from where the cursor was to where you move your cursor), then once you’ve moved the cursor to where you want, press CTRL+K to cut.

      • fl42v@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        27 days ago

        “Sane” keybindings are questionable given Ctrl’s location (painful to press with both pinky and thumb fingers). It’s standard, I’ll give it that, but those in helix or vim are mostly (I’m looking at you, navigation between splits) much saner all things considered

      • SpaceNoodle@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        27 days ago

        That’s cool, and I can’t wait for it to gain widespread adoption, but nano is already more commonly installed by default.

        • Eager Eagle@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          1
          ·
          edit-2
          27 days ago

          better ootb experience with syntax highlighting, sane keybindings, plugin system, and other little things nano lacks.

          • SpaceNoodle@lemmy.world
            link
            fedilink
            arrow-up
            4
            arrow-down
            1
            ·
            edit-2
            27 days ago

            Nano has had syntax highlighting for quite a while.

            Its keybindings also make sense if your brain is still stuck in the '90s. If not, they’re literally printed at the bottom of the terminal.

            If I need plugins, I’m not gonna be fucking around with a terminal text editor.

            What are these “other little things?” Certainly not “probably already installed on your system.”