• m4m4m4m4@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    14 days ago

    The problem I had with nano is that, for the time being, it was supposed to be easy to use. With that in account I always get lost when saving a file and closing the thing because one’s used to doing something else with Ctrl+O and Ctrl+X.

    Whereas with Vim (and Neovim for a little while, and now with Vis) I knew it had a steep learning curve from the start so I always had it in mind. And all the funny stories about quitting vim.

    • tetris11@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      14 days ago

      they’ve changed those bindings now, Ctrl+S, Ctrl+X, Ctrl+V, and Ctrl+C all do what you think they do

      • m4m4m4m4@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        14 days ago

        Great, now the next time I use nano I surely will forget about this and get frustrated when trying to save a file with Ctrl+O

        • tetris11@lemmy.ml
          link
          fedilink
          arrow-up
          3
          ·
          14 days ago

          you still can, but I think Ubuntu and other prepacked distros will switch soon to the better bindings

          • socsa@piefed.social
            link
            fedilink
            arrow-up
            4
            ·
            14 days ago

            Great so now I will mangle all my merge commits depending on which version the host is using.

        • tetris11@lemmy.ml
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          14 days ago
          • nano

            • Ctrl-Q search backwards
            • Ctrl-S and Ctrl-X is save file
            • Ctrl-V is scroll down
            • Ctrl-C is cancel or info
          • nano --modernbindings

            • Ctrl-Q quits
            • Ctrl-S is save file
            • Ctrl-X is cut
            • Ctrl-C is copy
            • Ctrl-V is paste
    • grysbok@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 days ago

      The problem with using nano for years is that I now try using nano shortcuts in other programs. Random new windows opening is confusing, until you figure out Ctrl+o isn’t save in that program. Then it’s just annoying because you still have your inappropriate muscle memory.