Vim prank: alias vim='vim -y'
(learnbyexample.github.io)
from learnbyexample@programming.dev to linux@lemmy.ml on 01 Apr 2024 10:57
https://programming.dev/post/12224802
from learnbyexample@programming.dev to linux@lemmy.ml on 01 Apr 2024 10:57
https://programming.dev/post/12224802
Did you know that Vim has an Easy mode? It’s the hardest mode for those already familiar with Vim 🙃
threaded - newest
Well… I typed “vim -y” at the terminal to see what was that and now I don’t know how to leave vim.
ctrl+Q did the job!
see the cord plugged into the wall?
What does the flag do?
According to vim --help:
-y Easy mode (like “evim”, modeless)
As per the manual, “Mappings are set up to work like most click-and-type editors” - which is best suited with GUI Vim.
While Vim doesn’t make sense to use without the modes, there are plugins like github.com/tombh/novim-mode!
“prank” a vim user. You mean make it normal?
still, cool nonetheless
For a vim user it’s going to cause panic.
Copy and paste suddenly become illogical keybindings like ctrl+c and ctrl+v
For closing the program you have to press a very weird X instead of the much more natural :wq
And so on
I would be so confused and so very angry at the end. I had a hard enough time working inside vim-tiny.
It makes that it’s impossible to exit vim for even an experienced user, I guess
I need -n that gives me the hardest vim.
alias vim=‘nano’
Better yet, swap the binaries
alias vim=‘wordpad.exe’
Slow down there, Satan.
I’ll break the keyboard if someone would do that to me
Can’t find it now, but someone once made a vi [gVim?} version with a Clippy-style helper: “I see you’ve pressed ESC. Would you like to…”
That started out as a fictional implementation in the turn-of-the-century webcomic User Friendly (main site died a while back, unfortunately), and then someone decided that it would be fun to implement it for real.
The one in the comic was deliberately created to be evil. Not sure about the real-world implementation.
Oh no. I thought it was an April fools joke. UF truly is no more.
Time to donate to the Internet Archive.
Say hello to vigor. It might require some tweaking to compile nowadays (or not, who knows).
The kakoune editor cimes with clippy by default. It’s not exactly a Vim version though, but close enough.
There is no help that can save me for I cannot exit vim.
Vim takes yet another victim. Now I’m stuck in eternal damnation, never able to close the damn thing.
<img alt="" src="https://lemmy.dbzer0.com/pictrs/image/3d5a7fa9-709b-4de9-a0db-d7984c746431.png">