The True Cost of Switching to Vim
Description
This is a screenshot of a tweet from the popular satirical tech account 'I Am Devloper' (@iamdevloper). The tweet, dated 01.09.21, reads: 'Did you know, that if you switched to Vim, you could lose up to 87% of the little joy you have left in this life'. The image captures the text of the tweet along with the account's profile picture and engagement metrics (78 comments, 369 retweets, 3,197 likes). The humor is a sarcastic take on the notoriously steep learning curve of the Vim text editor. For experienced developers, this joke is highly relatable, as it acknowledges the initial pain and frustration of learning Vim's modal editing and complex commands, a rite of passage that is a common trope within developer communities. It playfully jabs at the editor's reputation for being user-unfriendly, despite its power and efficiency in the hands of an expert
Comments
58Comment deleted
Vim has two modes: 1. Beeping at you for typing. 2. Accidentally deleting half your file. The joy comes from discovering which mode you're in
Vim doesn’t drain your joy - it stashes it in an unnamed register you’ll never remember how to yank back
After 15 years, I finally escaped Vim... turns out the exit command was :wq all along, but by then I'd already rewritten the kernel in Vimscript and achieved enlightenment through regex-based refactoring
The real tragedy isn't losing 87% of your joy switching to Vim - it's that the remaining 13% is spent trying to explain to your pair programming partner why you just typed ':wq' into their Slack message, muscle memory having completely overridden your conscious thought. At least you didn't accidentally commit 'i' followed by your actual code changes to git, which is the Vim equivalent of leaving your turn signal on for 47 miles
87%? Optimistic - Vim's true toll hits 100% on first :q! mishap, but muscle memory rebates it in production configs... eventually
Vim is pure capex: negative NPV until hjkl amortizes - then your true lock-in isn’t the editor, it’s your fingers
Switching to Vim: 87% of your joy evaporates in modal context switches; the other 13% gets remapped to Caps Lock
I don't really understand why people use Vim in 2021. It's pretty straightforward but Emacs, for example is cool combine which also doesn't require X-server. Comment deleted
Cause vi installed by default on all linux or osx Comment deleted
It's good program. For editing configuration files it's nice solution. But for programming there are more much more comfortable programs. Comment deleted
For programming I prefer jetbrains IDEs, not text editors.. but the same vim support code highlighting Comment deleted
you must be fun at parties Comment deleted
mostly the normal mode, every other app is non-modal and once you get used to the modal approach you'll never look back Comment deleted
Where can I read about this structure comparison? Comment deleted
:h index.txt There also are plenty of chetsheets online. Comment deleted
Vim is definitely not the only modal editor or vi clone. But it certainly takes it to the extreme: https://rawgit.com/darcyparker/1886716/raw/eab57dfe784f016085251771d65a75a471ca22d4/vimModeStateDiagram.svg http://www.viemu.com/vi-vim-cheat-sheet.gif Other popular vi clones: Elvis Evil (Emacs Vi Layer) Kate (toggleable vi mode from settings) Nvi (default on BSDs) Busybox vi (default on embedded systems, kinda awful) Other modal editors that don't derive directly from vi are: https://github.com/martanne/vis http://kakoune.org/ Comment deleted
oh boy is this another opportunity for me to shill for micro Comment deleted
I like nano Comment deleted
why Comment deleted
easy to use :) Comment deleted
not really, micro is easier and a lot more powerful Comment deleted
it doesn't come preinstalled though, does it? Comment deleted
neither does nano Comment deleted
it does doe Comment deleted
It does Comment deleted
it does not come preinstalled on alpine, arch, nor debian if i recall Comment deleted
Comes on Debian and Ubuntu for sure Idk about arch, but is on manjaro Alpine indeed, but that's the point of alpine isn't it? Comment deleted
My nano Comment deleted
looks pretty cool Comment deleted
Yesterday thought of moving to nvim Today got panic attack Comment deleted
XD Comment deleted
fix your i3status btw Comment deleted
Getting off it, no color output :-\ Comment deleted
Seems i3bar doesn't digest plain ANSI colors. Consider adding output_format = "i3bar" in i3status settings. Via: https://forums.freebsd.org/threads/i3status-not-colorized.57667/ Comment deleted
But I've actually switched to polybar long ago. Mostly because of mouse actions (i.e. volume and backlight control with wheel scroll). Comment deleted
Nice, is it wayland compatible? Comment deleted
if you want polybar on wayland, maybe check out waybar :) No, it's not similar to swaybar, which is shit btw Comment deleted
my current desktop + waybar Comment deleted
I have that configured already Comment deleted
oh, nice Comment deleted
ehh, no. https://github.com/polybar/polybar/issues/414 Comment deleted
My favourite imba action is to open and close windows with mouse wheel. Comment deleted
my micro 😎 Comment deleted
I don't use vim most often, but the navigation language it has is amazing, if you go through the hassles of learning it. I use vs code with vim plugins for this exact thing. The way you don't really need mouse, and you can chain actions and verbs is the best there is. Comment deleted
Vim/Vi is like a religion, you have to be thoroughly indoctrinated to like it and the insanity behind the modal editor concept. Only psychopaths use it. Comment deleted
i use vim on my netbook (sic, welcome from 2010) because it works, and works well enough to be used as a substitute for IDE Comment deleted
Nice cat, otherwise psychopath Comment deleted
Indeed a very nice cat, I'd say 9/10 Comment deleted
forgot to say, my netbook is on Windows XP [and it still works], and vim runs under cygwin this is what I am called psycho for [ru: и за это меня считают ненормальным] Comment deleted
This message was very ed Comment deleted
Welcome to Linux community Comment deleted
Nice cat Comment deleted
*cheesy TV intro* nice cats and psychopaths the community of code & maths nice cats and psychopaths come here and learn about obscure archs dev with memes, as it seems, the group is an oddity (background music) left and right, in every sight, vim users is all I see (buildup to final refrain) nice cats and psychopats I guess the latter is common nice cats and psychopats sit down and watch, cause the show is commin' here Comment deleted
yeah I wrote a cheesy TV intro, what are you gonna do abt it? Comment deleted
Go to fiever and order a song Comment deleted
I could technically make it myself Comment deleted
Sounds like a sitcom into in my head Comment deleted
absolutely what I was going for Comment deleted