• TabbsTheBat@pawb.social
      link
      fedilink
      arrow-up
      13
      ·
      edit-2
      4 days ago

      Efficiency :3… if you need to edit text in terminal a lot, getting good with vi/vim can save a decent chunk of time, due to all the keyboard shortcuts it has

      And then other people do it cause the pros do and it’s perceived as cool

        • TabbsTheBat@pawb.social
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 days ago

          Basically just the keyboard commands afaik. In vim you move through lines with hjkl keys instead of the arrow keys, and most commands are one letter (because it works through switching modes) instead of needing to hit ctrl for every one. In effect it lets you keep your fingers on the home row at all times which means you can more seamlessly go between moving around to typing, as well as minimizing having to stretch your fingers, so less hurting hands for long editing sessions

          Personally I’ve not had enough of a need to use vim or vi or any of the other related text editors, so I can’t give more concrete examples, but ye :3… for most stuff and most people nano is gonna be good enough

    • davad@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      4 days ago

      It’s powerful, lightweight, and ubiquitous. If you do sysadmin work, remote into a random machine, and need to update a config file, it probably has vi installed already. It’s also extensible enough to use as a full IDE.

      Personally, I like it because of how fast it feels and because I can do everything while keeping my hands on the home row of the keyboard.

    • Luffy@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      4 days ago

      Because especially for very low profile systems its more than enough, so you dont need to use something like vim or nvim.