• OpenStars@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    Okay but… obligatory “gVim offers the best of both worlds by offering use of a mouse if you want it”. There are also native ports for Mac OSX and Windows, etc.

    Vim, in contrast, is a command-line program, suited for e.g. working with a text file on a remote server that may not even be running an X-windows interface, or maybe the user simply did not bother to connect to it:-).

    Okay, we may now proceed with the humorous jesting:-).

    • azertyfun@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      9 days ago

      Or just :set mouse=a if your terminal emulator was updated in the past decade. gVim has nothing to offer anymore, except that it bundles its own weird terminal emulator that doesn’t inherit any of the fonts, themes, settings or shortcuts of one’s default terminal. Blegh.

      Also if you’re not going to leverage Vim’s main feature and just want to click around on stuff, just install VSCod(e|ium), which is genuinely amazingly good.

      • OpenStars@piefed.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 days ago

        Absolutely. Plus the keyboard shortcuts are just outstanding - e.g. shift-M takes you to the middle of the screen - and you can even programmatically do things like make changes to every other line within the range 100-1000 but nowhere else, and even then restrict the changes to only those matching a pattern.

        And it is installed on most every machine in the world - even Windows is putting bash onto things these days (I forget if that is still optional, admittedly I haven’t touched Windows in nearly a decade:-P) - and has been since virtually the dawn of computing, certainly long before the modern age. :-D I’ve used ssh on a fucking blackberry and edited files with vim before smartphones existed!

        It is, however, notably hard to learn to use, I grant that:-).