• cyberpunk007@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    7 months ago

    I don’t know when or why I learned vi, but once I used it for that short period of time I got used to it and it’s just muscle memory for me now. 99% of the dime I’m using x to delete text, yy (or #yy) and dd (or #dd) or p/P to copy/delete/paste lines, or :s/oldtext/newtext/g, or :wq or :x to write and quit. That’s like basically all I ever use VI for and it’s quick and easy to do. Once you know it, like anything, it’s quite a nice editor. Of course it can do a lot more than I typically use it for.

    If you think it’s complicated, think about the first time you had to type sudo apt-get install firefox instead of googling Firefox and double clicking an executable.

    • Sanyanov@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      4
      ·
      7 months ago

      You just kindly described why no one ever should use Vim :D

      Using xyzbdvefsisgshs to copy-paste a line is not the level of convenience someone expects from a modern tool

      • jkozaka@lemm.ee
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        7 months ago

        sure, but there are so many commands that are absolute godsends. one of my favourites is the c command. I can just write ct" and change all the text up to the next speech mark. and if you dislike some of the binds, make your own! (n)vi(m) is super customisable.

        just because it’s not familiar doesn’t mean it’s bad.

        • Sanyanov@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          Fair enough.

          I guess someone can make use of this all, just not regular users. Besides, the controls are very legacy and it would make sense to make an updated version just to keep it more in line with tools people are used to and generally enhance user experience.

      • hisbaan@lemm.ee
        link
        fedilink
        arrow-up
        3
        ·
        7 months ago

        Convenience is often a tradeoff for power. Nobody is claiming that vi and its derivatives are convenient, they’re saying it’s powerful.

        Personally I’m much much faster using neovim than I could be using something like vscode. There’s a myriad of other benefits that modal text editing brings to the table, not having to use a mouse and constantly switch back and forth being a big one for me.

      • cyberpunk007@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        By that logic get away from Linux, eventually you’ll have to touch a shell and google some things to find out what to type inside a terminal. It’s not hard to learn i for insert and type stuff and esc to get out, colon x to save and quit. If you can’t remember those 3 steps you can’t even update your system on a command line lol.

        sudo apt-get update; sudo apt-get upgrade sudo pacman -Syyu

        Etc. 3+ things to remember in each example.