this post was submitted on 26 Oct 2024
651 points (96.7% liked)
Programmer Humor
32715 readers
688 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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:-).
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.
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:-).