• NaibofTabr@infosec.pub
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    4
    ·
    1 day 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.

    • timbuck2themoon@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 day 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.

    • furry toaster@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day 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
        2
        ·
        1 day 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
          2
          ·
          23 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.

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            19 hours ago

            Hjkl are superior to arrow keys once you get used to them.

            I disagree with this point. I am able to use them quite functionally and I still want my arrow keys, because they are arrow keys. Also, you can use them without exiting INSERT mode.

            I do however, agree with your last point.[1]

            Oh, and I also don’t like the pseudo ergonomics of mechanical keyboards.
            All they do is make it harder to use with a more relaxed hand position.


            1. I agree with the fact that you disagree with me. Nothing else. ↩︎

    • nous@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day 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.