• NaibofTabr@infosec.pub
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    4
    ·
    13 hours ago

    If you’re just doing a quick config edit, nano is significantly easier to use and is also present in most distros.

    Vi/Vim is useful as a customizable dev environment, but in the present there are better, more feature-rich development tools - unless you are specifically doing a lot of development in a GUI-free system, for some reason.

    • furry toaster@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 hours ago

      vim is more feature rich than nano, nano is easier to use for the first time, after you learn the very basics vim is pretty much just as easy to use and way more feature rich

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 hours ago

        One +ive for nano is that it has general commands listed down below, by default.
        So, as long as you understand ^ and M-, which you are expected to (idk why, ask sbd else), if you have been using Linux CLI, you will at least know how to exit.

        Oh, and I just realised: it also says “[ Welcome to nano. For basic help, type Ctrl+G. ]”, where it explains what ^ and M- are.

        So nano could be considered an accessibility program for people who are new to the GeNerally Used CLI, while vim is the thing you will configure for yourself when you know what you want.
        Oh and I am definitely configuring it. I hate the hjkl for movement. I have arrow keys and I am going to use them. And I am not buying your 60% mechanicals no matter how much you make sure that 100% keyboards are not available with good keys.

        • littleomid@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 hours ago

          Agree with your point on nano. I used it as a beginner too, but once you get past the basic typing something in, vim is king.

          However, I disagree with the rest of your post. Hjkl are superior to arrow keys once you get used to them. I thought that day would never come, but I got used to it way quicker than initially anticipated.

          As a 60% owner and 34 key ergo advocator, also disagree with the last point.

    • timbuck2themoon@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      9
      ·
      13 hours ago

      I mean, if youre continually updating files on remote take the time to learn vim. My God it’s a million times more efficient. Even using the keybindings in an ide makes sense.

      That and Im not aware that rhel distros at all have nano built in. Nothing on a random rocky 9 box I randomly sshed into just now.

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 hours ago

      What editor is more feature-rich then vim? Out the box it is lacking some sane config but it is one of the more powerful and flexible editors out there - more then a rival for any modern IDE.