@@programmersarealsohuman5909 there's a shortcut for :wq, :x safes you quite a lot of time! I think I just now realized that I'm more of a nerd that I'd like to admit.
@@roseCatcher_ damnit, you're right! Now I have to frantically press every button on the keyboard, while panic is building up... until I recognize that I just forgot the "!"
I think I'll switch to qutebrowser and finally ditch the mouse alltogether. It's funny how deficient I've become since I switched to a tiling window manager and vim. :D I think real vim users probably have keyboards without arrow keys. I have no intentions of going there just yet XD
Actually it's true. Every time you have to use a mouse you break your flow and it might take a minute or two before you enter it again. If you are a flow based mind, then no mouse literally equals no traps.
Dunno, took me like a month in a background to paid job to learn vim, get all the plugins i really need and configure them the way i want, and most time consuming was my personal color scheme.
@@nonono4160 Yeah, I get the idea people think that they need to have mastered vim and gotten rid of their mouse before it starts to count, but especially in OOP vim is exceptionally helpful as long as you've learned how macros work and have a cheat sheet nearby. That's like maybe 5-10 minutes after you've started to try to intentionally learn to use it.
Totally. But don't forget if you wanna be a real vim user you shouldn't use plugin's. I use cocnvim. Turns my vim to an IDE. Turns me from a eleet to a n00b. Totally worth it. Saves me 4.3seconds each day.
As a hardcore Vim user - i totally agree with everything that he says. I mean, at this point, i don't know if what he's saying is a joke anymore because everything that he says, i say it to others. I literally made my entire workflow in the spirit of vim. My window manager, dwm, is driven by the keybinds of vim, i use tmux, i use st, ranger/lf, vimium to navigate browser in the spirit of vim, and oh, i almost forgot to tell : i use arch, btw. Honestly, great video.
First time I encountered Vim the entire team was totally completely shocked by my lack of knowledge and development. They questioned my live and upbringing and if it was worth living anyway. That day I learned something. There is a different genepool of developers and they come from an other dimension.
@@KevinFlowersJr You underestimate my daughters. The oldest one was uploading video's when she was 7 and English is not her native language. She is 11 now and her skills have grown exponential.
'Practical Vim: Edit Text at the Speed of Thought' by Drew Neil Spend a few minutes a day on each tip. There are 121 tips total but after the first 35 you will already be editing faster than any other text editor. In 4 months, spending just minutes a day, you will wonder how you ever got along without Vim.
"You just need to learn it, It opens a door, to wasting more time" 🤣🤣🤣 so true "I gained 20 pounds after learning all the commands, and lost 20 pounds after I started using them" 😅😅😅
BTW I use vim, and this is very true, you guys should ditch your bloated ide and then spend the next 5 years making vim just like your ide, then quit programming all together.
This is the perfect complement to the interview with an emacs enthusiast video. If you haven't seen that one yet, it's worth watching just so you know your enemy.
As someone who's been using Vim for over 10 years now, I'm laughing my fucking ass off at how accurate this is. Is it me or does it feel like they actually really like VIM? (outside of this satire :D)
"I'm not the only one who switches up gg and shift-g all the time." :D I literally do this all the time (as a 10 year Vim user), they must use Vim. Such specific domain knowledge :D
This video is one of those golden nuggest in the vast, dark space of the internet, produced for the enjoyment of us, a few slightly crazy progammers.... Thanks!
This is hilarious. As a vi/vim user, I agree with almost everything he says. I just cannot seem to not use it. Even in VSCode, I added a vim add-on/module, but conflicting paradigms...
Plot twist, VIM is so powerful today because people couldn't figure out how to exit it, so the just built in features they needed for any task they had to do.
2:27: In my case, I gained 20 lbs while learning VIM, and another 25 when I realized I forgot everything I learned after not using the commands for a week.
As a vim user I don't find it amusing at all. Since I've started using vim there's almost no day I don't (have to) learn a new command. And it was five years ago.
The line "if youre using an computer, youre kind of already using vim" is true and deep as fuck. Theres a lot of programms with vim like keybindings, and until you learn vim you dont notice it. Vim is a standard.
Thanks to the power of vim I can not only write code faster but I can also write faster code. I can't remember the last time I had to do a for loop, with vim it doesn't matter if the loop loops 10, 100 or 1000000 times I can confidently just "nP" my "Vjy" and explicitly paste every single iteration. I have FizzBuzz to 10,000,000 places in O(n), how? Vim. Huge bonus is that the file is only 6GB.
I started with vi in 1989, on VT220 terminals hooked up to a Sequent Symmetry box running Dynix, took about a month to get fully up to speed. Still use it from time to time one various UNIX . When you connect to a UNIX box it might have other text editors as well, but I have yet to find one that doesn't have vi/VIM.
@@davidwuhrer6704 Right! I used to teach people (in the 1980s) that it was "object oriented" - "d" is the delete method, and "w" is the word object. You string them together. And then you string together more, like d2f) or something.
This was partially my motivation for me writing my _Vim Cheat Sheet for Programmers_ - I wanted to know _which_ keys were used and which keys were unused so I started reading the source. Unused keys are: Ctrl-S, Ctrl-K Vim has a bug / brain-dead design where certain keys *can’t be bound:* Caps Lock, Ctrl-1, Ctrl-Shift-1, Ctrl-2, Ctrl-Shift-2, Ctrl-I, Ctrl-\, etc.
The amount of times I casually hit the escape button a few times when composing an email is staggering. And in some email clients, hitting escape means you lose your draft. FML.
The thing is, (he didn't have time to mention) vim was a super set of vi and vi was a super set of ed and when your workstation crashed and the rescue prompt only had ed in it's path you could still edit every corrupted file in /etc and ever after you loved vi
This is like a mechanic saying that vise grips are the tool that you should use for all your work because when you're speeding down the highway and your steering wheel falls off you can grab the steering shaft with the vise grips and regain control of the car -- and that's important because, as it happens, you're driving a vehicle whose steering wheel often falls off. Somehow, "vise grips" doesn't get to the heart of the problem.
Well of course Veyron Mustan is taking the piss out of the likes of me, and you've got to love that. But, but, I have experienced only one of our two proposed scenarios irl
i unironically changed my keyboard layout so that I can hit esc with my thumb instead of moving the other fingers off the letter keys while i'm writing stuff in vim. when he says vim changes you it's actually pretty close to truth
That look of shame in his face before he starts tapping the same key over and over! He knows it's a sin in Vim. But it's a sin all of us commit. Fantastic video.
No, the human brain is an extension of modern software. The software proposes, you choose. You express a vague though, the software does something roughly right that you'll need to tweak. The software does, you babysit it. Especially video games, I don't like modern popular video games, and whoever does... I'll install vim in their genitals so they can't quit using them.
This is "nested" interview with a C developer, I can feel it 😅 PS. Still having light reflection with the screen on camera 😵 Regards, keep up the good work with funny videos ✌
i have carpal tunnel. i now use vim and have modified it so much that i can do complex things in one keypress. for example typing :w is difficult because vim was not designed for our current keyboard layout. so i have remapped :w to F2, so i can save the code with a single keypress. if you learn vim, make sure to learn how to modify the keyboard layout. a new world of efficiency will open to you.
At some point in the 80s, AT&T released a document that I remember only as The vi Card. It was a single 8.5 by 11 piece of heavy laminated card stock folded in 3, printed in landscape on both sides. It summarised, in an admittedly small font, every command you needed to be proficient with vi (and then some). My university's book store sold them for 2 bucks. THEY WERE NEVER IN STOCK. They were also the target of much theft.
When I was in my undergraduate degree, I took a course where we were introduced to Linux. ( I already knew a little at the time.) I shit you not, when it got to editing files in the terminal, the instructor told us all to type in the command 'vim ....' . He seriously wanted vim to be the first Linux text editor that newbies learned. Thankfully, I just used nano instead, but, those poor souls......
After you learn Vim other programs and key binds stream into your brain instantaneously. When you learn vim, you don't just acquire the ability to edit files -- your subconscious develops a new languages for keyboard shortcuts. Congratulations, your brain has just been upgraded with a new assembler!!
Pretty spot on. Although for people who haven't used vim, you really can learn the basics in an hour and it already will be apparent it can do things other editors can't
@undrash its a modal editor, so the editor allows basically any keybind u want. for example, u can bind 's' to compile, u cant do that in other editors since 's' will just type a 's'
Love my VIM and use an extension in every app I use-browser, ides, etc. I've never gotten to the point that I can do amazing things, but it's still helpful to have the basic commands for manipulating text more quickly. I think this comes from developing non-cli applications -it's changed my normal work position from "both hands on keyboard" to "hand on keyboard, hand on mouse", so it's sometimes faster to use the mouse since my hand's already there.
@@DrDoctopus Yes! If I want to go to the dot, I just have to say it. I don't have to fiddle to get there. And if there's something I want at the bottom of the screen I tell it to go there, instead of somewhere roughly downward. Vim is lovely I eat vim every day you got to try vim
ed is the standard text editor. it's so much better bc you don't waste all that space just to look at your document. And the commands are so simple and clean, once you figure out how to get it to talk to you.
I always wanted to learn VIM, but as a relative beginner (just finished by engineering degree) I have so much more stuff that I need to learn, and oh boy does It require time.
I've used a fair amount of vim. I learned it originally because my boss said it would be embarrassing if I couldn't show customers that I am a vim expert when assisting them with their problems. In the end, I just became a snob who judges others for not knowing vim, because literally every customer I have worked with is clueless and doesn't give a shit if I know it or not. I wish I could get a neuralink and execute 100000dd on the lines of data in my head from where I had to learn vim.
I started with vim, went to neovim, now started using spacemacs evil mode. "vim actually feels quite natural, ... to people who use vim". Thats very true, cant live without vim or vim like editors
A guy at our job was flexing his vim skills until we fired him a couple of months later. He never wanted to use a proper IDE and was creating so many issues in our codebase, issues that any proper IDE would have caught right away. I don't miss that guy.
@@levonschaftin3676 we were tired of finding the issues for him. Kill your ego and get yourself a proper IDE. It tells you a thousand things you can't see with your naked eye.
@@oncle_dantreesitter along with basic lsp configs are more than enough to avoid this kind of issues, package managers such as LazyVim and Packer also made things a lot more accessible... neovim ecosystem is a lot more friendly in general, with amazing docs to do very custom stuff or quickly setup things rather quickly... Your dude was just not aware of it
IDE is for people who like not knowing if their code is buggy or if it's just their editor. IDE is for people who like to look at loading screens when they open a plain text file. IDE is for people who like to have their hardware fan run all day. IDE is for people who like having projects that are completely incompatible with the latest version of their editor. IDE is for people who need videos that tell them what to click in order to run their code, then have it still not work. IDE is for people who want to be completely lost when the interface changes slightly. IDE is for people who want to spend a whole day trying to figure out why a specific button in their toolbar is greyed out. IDE is for people who want to be useless in any technology not supported by their editor.
i switch editors fairly often, but the first thing i do in any editor i start using is to enable vim bindings, so it becomes usable. i sometimes open vim inside the vscode terminal, because it feels faster than trying to open the file in actual vscode when i’m already in the terminal
@@o1-preview i'm sorry about that and i hope that your day gets better, but please try to avoid taking it out on strangers on the internet if you can. anyways, i'm not saying that anyone else needs to use vim, it's just what i'm used to and what's in my muscle memory, so it's slightly frustrating when i don't have the bindings available
He said it in the video but literally the only reasons I use vim are because it's fun and I don't have to use the mouse as much. It's not really better or faster or more efficient or anything.
Disagree. When I want to do some really deep editing - stuff where I need to munge up a file good - Vim with Macros is really the best way I have found to do it. And a special bonus is that once you have done it once, you are halfway to using sed in a Bash script to do the same thing repeatedly...
Everyone laughs at the vim guy until 3 people use 3 different IDEs and each of the project files for those IDE end up in the repository and merges are held up because of it.
@@KumarAbhinav2812 That would make the most sense but our IntellIJ guy insisted certain files get pushed because that is what it says on the support page. This of course led to a meeting of over an hour.
@@chrisvannooten1218 I know a lot of ppl who like intellij - but it seems very topheavy. I use Doom Emacs for everything except debugging (for which I use vscode)
@@chrisvannooten1218 no you do not push the .idea folder into git, add the folder into gitignore , thats a user configuration and the project does not need it
I use vim regularly, last week I tried using with WSL, and something happened that I couldn't press ":" and suddenly I found myself stuck a it again, almost gave me some kind of nostalgia
Same. He was a professor at my college. Students had to decide between vim and emacs and everyone chose vim. He tried to tell us how amazing emacs was, but we all went the easy route. Still haven't touched emacs to this day, but use vim daily.
@@martinn.6082 No way! Same with me! "I do use VSCode for looking at your projects, but if there's some smaller job, I'll use a simpler text editor" Me: "and what editor do you use sir?" "Eh. Is that a question now? We all use the prime one. Emacs." O.O "But you said you want a faster and simpler editor..." "Eh Emacs isn't a text editor it's an OS" I still don't get the logic behind that, he probably uses default Emacs with a daemon on startup from what I can guess. But I've never met an Emacs user otherwise.
The trick with Emacs is to have it always running, and use emacsclient to tell it to open files for editing. In my ~/.bashrc I have the line alias e='emacsclient -n' Then in any terminal window, I just have to type e «filename» to open that file in my Emacs session.
"You used it on remote servers anyways, you might just use it all the time" - Exactly what i'm doing now, but I still miss flinging buffers around the screen
How to exit vim?
Its ESC :wq! …just in case anyone comes from googling. No need to trash your pc …yet
@@programmersarealsohuman5909 there's a shortcut for :wq, :x
safes you quite a lot of time!
I think I just now realized that I'm more of a nerd that I'd like to admit.
@@SohnoZ That's not a shortcut, that's a different command.
@@voorheert ok, it's a shorter command that does the same.
@@roseCatcher_ damnit, you're right! Now I have to frantically press every button on the keyboard, while panic is building up... until I recognize that I just forgot the "!"
I love vim; I'm just as unproductive as before, but in a more efficient manner. Which means I have more time to also be unproductive.
😂
Like your comment!
This is the way
😂😂
Most excellent!
"You don't change vim, vim changes you"; that hit me hard
oh yes
Reminds me of... Klaus Schwab: “The difference of this 4th industrial revolution is it doesn't change what you are doing, it changes YOU"
Harder than the deathstar
a silent moment when you will slap off your computer
I need a t shirt with that on.
Once you learn VIM, you can't stop seeing the world as a series of vim macros
this
Funny. Also true.
Seriously, I have typos of "jkkkk" because of vim.
Facts
I navigate text and apps with my eyes by imagining vim commands
"Vim actually feels natural to people who use Vim" my favorite quote.
lmaooo
"It will be painful at first, and painful at last" really got me
"Good😌" 😂😂
That one got me.
I love how there's no MOUSE on the desk 😂
what do you mean? why should an animal be on the desk?
@@taurohkea2169 🤔 that's a very good question. It depends on your preference really, a guinea pig is a nice alternative.
I think I'll switch to qutebrowser and finally ditch the mouse alltogether. It's funny how deficient I've become since I switched to a tiling window manager and vim. :D I think real vim users probably have keyboards without arrow keys. I have no intentions of going there just yet XD
@@dersg1freak *one of us. one of us. one of us.*
Yo' da Biig Cat in town, ma' brutha'!
I love how all the actual vim users fully agree with everything this parody says, I'm not even sure its a parody at this point.
Right, you could say it is very accurate. Just presented in a dramtic way 😆
exactly LOL
I'm trying to avoid big tech as much as I can, so Vim > VSCode, but fuck me the learning curve...(still using VSCode...hopefully temporarily)
100% 🤣
once you get the hang of it you'll start wanting some plugins ahahahha. but it's pretty easy to install them, i never had to compile a plugin
"no more mouse, no more mice, no more traps"
this is officially my mantra now
Actually it's true. Every time you have to use a mouse you break your flow and it might take a minute or two before you enter it again. If you are a flow based mind, then no mouse literally equals no traps.
In Sweden mouse is a word for a girl's... special place, so it's kinda true in that fashion too.
@@ano_nym same in german
I did some math: After 25 years of programming; the seconds I save using VIM will surpass the hours I spend configuring and learning it, so worth it!
4.3 seconds?
What about minutes defending your vim usage on UA-cam comments and other forums?
@@talldarkknight add 15 years then!
Dunno, took me like a month in a background to paid job to learn vim, get all the plugins i really need and configure them the way i want, and most time consuming was my personal color scheme.
@@nonono4160 Yeah, I get the idea people think that they need to have mastered vim and gotten rid of their mouse before it starts to count, but especially in OOP vim is exceptionally helpful as long as you've learned how macros work and have a cheat sheet nearby. That's like maybe 5-10 minutes after you've started to try to intentionally learn to use it.
You missed the most important vim enthuisiast phrase: "IDEs are bloat ware"
Totally. But don't forget if you wanna be a real vim user you shouldn't use plugin's. I use cocnvim. Turns my vim to an IDE. Turns me from a eleet to a n00b. Totally worth it. Saves me 4.3seconds each day.
and ABSOLUTELY PROPRIETARY
@@nimitzufo p'op'jaa'ary sowfware
-DT
It's true though lmao
@@tissuepaper9962 Maybe if you have 8 kilobytes of memory on yor PC from the 90s.
"Painful at first, painful at last"
Sounds about right. :wq
:x!
That's life for you
I have :wq in the end of lot of files
Literally the only command I know
I think you mean :x
best random string generator: Get someone who doesn't know vim and tell them to exit.
you do lose a lot of entropy because the randomness is full of ctrl c, q, ctrl x.... 😂
Any beginner here ever fallen for the Ctrl+s issue that locks the shell? Exit with ctrl+q. Forgot
i guess
SHIFT+ZZ OR SHIFT Z+Q
Can confirm. I genuinely got stuck in vim yesterday.
I would guess ALT-F4 like any normal application would work. But I might be wrong.
As a hardcore Vim user - i totally agree with everything that he says. I mean, at this point, i don't know if what he's saying is a joke anymore because everything that he says, i say it to others. I literally made my entire workflow in the spirit of vim. My window manager, dwm, is driven by the keybinds of vim, i use tmux, i use st, ranger/lf, vimium to navigate browser in the spirit of vim, and oh, i almost forgot to tell : i use arch, btw.
Honestly, great video.
arch/i3/nano cause im a basic b
Me too!!! I use Vim in my entire (computer) life
Same thing here, just vifm not ranger.. and a lot of keybinding embedded in my custom keyboard
Vim life!
Same here. I prefer tridactyl over vimium.
"Vim actually feels quite natural
to people who use vim."
this is very very true. I use vim bindings everywhere.
all the files that i have to edit outside of vim are littered with rogue :w s.....
Literally closing web tabs with :q
@@darukutsu oh i get around this issue by never ever closing tabs, i have around 60 open rn :3
@@valerieplushie1031 I'm in same situation I have multiple undone works and open around 75 tabs
@@darukutsu it's the best way to do things tbh!
As a Vim user, i endorse this message.
As a vim user you had to let everyone else know you were a vim user 🤡
As an Emacs user - I endorse you endorsing that message ;-)
@@pm71241 As an Emacs Evil user i approve both messages.
@@123456crapface vim users are like vegans, right? :)
@@boltyk1 vim users are hipster showoffs. Real hardcore users use vi.
Extra bloatware of vim is making vi 0.000001ms slower. Unacceptable.
"You don't change vim, vim changes you"
"I gained 20pnds after learned all the commands, and lost 20 after steadily using it"
I love Vim. I've been learning it since 2007 and I'm almost good enough to use it correctly.
2007? Damn by this point you must already be able to add actual text to a textfile
I'll have you know I can even save that text. And I can find anything with a regular expression, after reading `:help pattern`
@@aidanbrumsickle You could have mentioned you spent 16 hours a day learning vim since 2007
I've been running Vim since 2005. Seriously, can someone tell me how to quit this thing?
@@jimbarino2 Depends, do you want to quit, writequit or forcequit?
once you experience vim, you can never leave. seriously, being using for 20 years now, never found how to quit
I know 20 years too late but :q
haha good one
@@thesupremetoast But I've changed the file, it doesn't work :P.
Why do you want to quit vim? That's ridiculous
First time I encountered Vim the entire team was totally completely shocked by my lack of knowledge and development. They questioned my live and upbringing and if it was worth living anyway.
That day I learned something. There is a different genepool of developers and they come from an other dimension.
Roblox kids...
@@조바이든-r6r daughter kidnapped my account
...questioning your life and upbringing :D btw, I know exactly what you mean, happened to me also, when I dared and asked how to use the command mode.
@@wybren If you just did everything in Vim, then they wouldn't have been able to kidnap your account. Vim is practically an encryption scheme
@@KevinFlowersJr You underestimate my daughters. The oldest one was uploading video's when she was 7 and English is not her native language. She is 11 now and her skills have grown exponential.
“We don’t need neural-link, we already have vim” LMAO
It is true though. I can work faster in vim than I can think.
@@davidwuhrer6704 so... you sometimes work without thinking? What are you? a marathon runner?
@@ancbi Editing text faster than I think does not mean I don't think at all.
Accurate. I have a blank HHKB and honestly don't know what buttons I'm pressing any more when I'm using vim.
I think nothing hard-wired to may brain would make me interface faster to a computer than VIM.
"I'm not saying your IDE is bad, but its .... pretty bad" - This is literally me as a vim user.
Dude jetbrains ide is much powerful, its stupid to use vim today, you guys use it just to feel like you are an efficient programmer
@@lot.bajrami you can use the shortcuts within a Jetbrains IDE via extension so you can become the ultimate developer
@@lot.bajrami ide is bloat.
@@tissuepaper9962 ok
@Lot Bajrami
Dude Vim is like IDE++ more.
Can you check your calendar in jetbrains?
Can't wait for the emacs one to come out.
And a special one for Doom Emacs / Spacemacs
BuT eMaCs Is NoT aN eDiToR
@@yamiteru4376 But its not, it's a lisp interpreter
@@yamiteru4376 its an operating system
The kitchen sink is in emacs
'Practical Vim: Edit Text at the Speed of Thought' by Drew Neil
Spend a few minutes a day on each tip. There are 121 tips total but after the first 35 you will already be editing faster than any other text editor. In 4 months, spending just minutes a day, you will wonder how you ever got along without Vim.
Thanks for the heads-up. Gonna check it out.
I wouldn't call myself a VIM "enthusiast" at all, but I switched from VS Code to AstroVim and I am honestly really enjoying it!
i use vscode with a vim extension. it works well and it makes it so I'm able to use all the vscode extensions that makes life nice
vscode with vim key bindings is pretty amazing
"You just need to learn it, It opens a door, to wasting more time" 🤣🤣🤣 so true
"I gained 20 pounds after learning all the commands, and lost 20 pounds after I started using them" 😅😅😅
BTW I use vim, and this is very true, you guys should ditch your bloated ide and then spend the next 5 years making vim just like your ide, then quit programming all together.
Sure, you can get VSCode and start writing code.
Or you can get vim plug in managers that never work and hate your life.
Your choice
lol quit in frustration after enough time
Well... you're not wrong. But vim as an IDE works better than the vim mode in most IDEs
I meet exactly same person 2 years back in my old company. This is so accurate I'm dying laughing 😂😂😂
Dieing AND laughing? I didn't know manufacturing is so fun!
@@rationalityfirst &&
@@rationalityfirst thanks for correcting my spellings 👍
Daddy chill
@Airgeddon1337 huh? and you probably mean "someone" ?
"it will be painful at first and painful at last" Amazing line...
This is the perfect complement to the interview with an emacs enthusiast video. If you haven't seen that one yet, it's worth watching just so you know your enemy.
The 4:39 minutes watching this is time you should be using to learn VIM.
if you use vim it takes less than a minute to watch this video
@@Maric18 only if you know the bindings though
“SSH or how I like to call it ‘ssshhhhh’” that’s gold 😂
I thought I was the only VIM user doing that... 😄
"I'm not the only one that switches up G and gg all the time, right?" that hit wayyyy too close to home
and right after it he goes forward a few lines and then back, instead of skipping
Of course it hits close to home, g is in the home row.
lmao I've generally considered switching the binds but i know I'll have the same problem
@@pubcollize 20j20j20j20j20j10jkkkk
or how we say in :set nu rnu, 20j20j20j20j6jk
As someone who's been using Vim for over 10 years now, I'm laughing my fucking ass off at how accurate this is. Is it me or does it feel like they actually really like VIM? (outside of this satire :D)
It's you
definitely you
VIM is so overrated I swear lol
"I'm not the only one who switches up gg and shift-g all the time." :D I literally do this all the time (as a 10 year Vim user), they must use Vim. Such specific domain knowledge :D
@@Joe-km7xi you haven't used vim
"let me give you a command overview"
**picks a long heavy book**
i lost it man
😂
This video is one of those golden nuggest in the vast, dark space of the internet, produced for the enjoyment of us, a few slightly crazy progammers.... Thanks!
Beautifully said 👏
This has become my favourite channel on the whole interwebs!
- This comment was written on, with and by VIM.
"vim opens the door to wasting more time"
"in vim"
macroes are cool though
Does your editor’s extension language understand closures and lexical binding?
Emacs’ Elisp does.
I agree 100% with this entire video. I too am based, I mean VIM user.
Based? Based on what 😳
This is hilarious. As a vi/vim user, I agree with almost everything he says. I just cannot seem to not use it. Even in VSCode, I added a vim add-on/module, but conflicting paradigms...
I use vim plugin both in vscode and in Rider.
Vim on VSCode is better imo
Vim feels quite natural to those who use vim
was using vim for a solid 6 month's, can confirm, vim changes you to the most annoying guy in the room
how could you possibly stop?
@@redsharktooth22 using vim or beign annoying? i just didn't stop LMAO
Even if you don't favour vim, being into the whole deal and bringing up those debates... Woo hoo!
"How to exit VIM?"
"You don't"
Plot twist, VIM is so powerful today because people couldn't figure out how to exit it, so the just built in features they needed for any task they had to do.
Why would you _want_ to exit vim?
@@Nick-dv3ww so you don't commit these weird backup files lmao
“killall vim”
@@lawrencedoliveiro9104 kill -9 1
2:27: In my case, I gained 20 lbs while learning VIM, and another 25 when I realized I forgot everything I learned after not using the commands for a week.
i like how all of these somehow seem like actual interviews edited to be insane instead of scripted videos
You should've had him fight an Emacs user
El'classico
Might need a seizure warning for the end, but I found this amusing nonetheless as not a Vim user
You sound like a Vim user
As a vim user I don't find it amusing at all. Since I've started using vim there's almost no day I don't (have to) learn a new command. And it was five years ago.
@@AdiCherryson what are you talking about? thats the whole joy of vim!!! /s (6 years of learning VIM/Linux)
Interview with Arch Linux Users, pls
Say the line, SAY IT
Perfect
@@eduardsasse1169 I use Arch btw
GENTOOOOO
The line "if youre using an computer, youre kind of already using vim" is true and deep as fuck. Theres a lot of programms with vim like keybindings, and until you learn vim you dont notice it. Vim is a standard.
UA-cam ALMOST HAS VIM KEYBINDS but the apes who designed it use j and l as left and right instead of h and l
How do you search in Firefox? /
For example Gmail.
/ has been the search operator for a *long* time. Remember Lotus?@@daniloxyz
Thanks to the power of vim I can not only write code faster but I can also write faster code.
I can't remember the last time I had to do a for loop, with vim it doesn't matter if the loop loops 10, 100 or 1000000 times I can confidently just "nP" my "Vjy" and explicitly paste every single iteration.
I have FizzBuzz to 10,000,000 places in O(n), how? Vim. Huge bonus is that the file is only 6GB.
I started with vi in 1989, on VT220 terminals hooked up to a Sequent Symmetry box running Dynix, took about a month to get fully up to speed. Still use it from time to time one various UNIX . When you connect to a UNIX box it might have other text editors as well, but I have yet to find one that doesn't have vi/VIM.
"Every letter in the alphabet is a command"
I actually couldn't stop laughing
It is true. And not just letters.
Basically it is a programming language where you form sentences by stringing together letters.
So did I, then I remembered I have keybindings for ligatures.
@@davidwuhrer6704 Right! I used to teach people (in the 1980s) that it was "object oriented" - "d" is the delete method, and "w" is the word object. You string them together. And then you string together more, like d2f) or something.
This was partially my motivation for me writing my _Vim Cheat Sheet for Programmers_ - I wanted to know _which_ keys were used and which keys were unused so I started reading the source.
Unused keys are: Ctrl-S, Ctrl-K
Vim has a bug / brain-dead design where certain keys *can’t be bound:* Caps Lock, Ctrl-1, Ctrl-Shift-1, Ctrl-2, Ctrl-Shift-2, Ctrl-I, Ctrl-\, etc.
"You either take the vim pill, or... I won't talk to you 😶" Oh man that got me 😂😂😂
The amount of times I casually hit the escape button a few times when composing an email is staggering. And in some email clients, hitting escape means you lose your draft. FML.
"We don't need neuralink, we have vim." Truer words were never spoken.
I've never felt so attacked in my life, this is too acurate
Best way to exit VIM ? Restart the computer .
By unplugging.
you don't need to exit vim. ever.
We don't exit vim, vim exit mouse. Then we exit our innocence and die a little everyday inside.
:x
You don't exit VIM. VIM exits you.
Genuinely LOLing at this series. Bravo. Would love to see similar bits with front-end stuff like Tailwind CSS, Gatsby, etc.
the woke tailwinders, can’t wait
The thing is, (he didn't have time to mention) vim was a super set of vi and vi was a super set of ed and when your workstation crashed and the rescue prompt only had ed in it's path you could still edit every corrupted file in /etc and ever after you loved vi
^this. If you're a developer, vim is... fine. But if you're a sysadmin, it's indispensable. Knowing vi could save your life some day.
This is like a mechanic saying that vise grips are the tool that you should use for all your work because when you're speeding down the highway and your steering wheel falls off you can grab the steering shaft with the vise grips and regain control of the car -- and that's important because, as it happens, you're driving a vehicle whose steering wheel often falls off. Somehow, "vise grips" doesn't get to the heart of the problem.
Well of course Veyron Mustan is taking the piss out of the likes of me, and you've got to love that.
But, but, I have experienced only one of our two proposed scenarios irl
Vim users: you don't need to use arrows - all your fingers have to be on letter keys all the time for efficiency
Also Vim users: ESC ESC ESC ESC ESC
That’s why I rebound it to a MIDI foot pedal.
i unironically changed my keyboard layout so that I can hit esc with my thumb instead of moving the other fingers off the letter keys while i'm writing stuff in vim. when he says vim changes you it's actually pretty close to truth
These answers make the point better than the video, lol
Anyone that's used VIM for more than a few hours has an alternative keybind for ESC. Most people use caps lock.
I remapped ESC to a combination of jk in Neovim let's gooo!
that look of superiority at the end... legend
was expecting a keyboard to be taped to his hands the entire interview
The fact that there's no mouse on frame makes my Vim heart happy
That's weird... the `:Heart` command doesn't work in Vim, so that must be a plugin that needs to be installed. Which repo do I need to clone for that?
That look of shame in his face before he starts tapping the same key over and over! He knows it's a sin in Vim. But it's a sin all of us commit. Fantastic video.
As a VIM user, I can confirm this man's findings.
2:47 no, the human brain is an extension of vim
No, the human brain is an extension of modern software. The software proposes, you choose. You express a vague though, the software does something roughly right that you'll need to tweak. The software does, you babysit it.
Especially video games, I don't like modern popular video games, and whoever does... I'll install vim in their genitals so they can't quit using them.
What if: the human brain is an expression of the simulation's vim.
This is "nested" interview with a C developer, I can feel it 😅
PS. Still having light reflection with the screen on camera 😵
Regards, keep up the good work with funny videos ✌
i have carpal tunnel. i now use vim and have modified it so much that i can do complex things in one keypress. for example typing :w is difficult because vim was not designed for our current keyboard layout. so i have remapped :w to F2, so i can save the code with a single keypress. if you learn vim, make sure to learn how to modify the keyboard layout. a new world of efficiency will open to you.
you can set auto-update on mode changes, no need to press F2 to save.
At some point in the 80s, AT&T released a document that I remember only as The vi Card. It was a single 8.5 by 11 piece of heavy laminated card stock folded in 3, printed in landscape on both sides. It summarised, in an admittedly small font, every command you needed to be proficient with vi (and then some). My university's book store sold them for 2 bucks. THEY WERE NEVER IN STOCK. They were also the target of much theft.
When I was in my undergraduate degree, I took a course where we were introduced to Linux. ( I already knew a little at the time.) I shit you not, when it got to editing files in the terminal, the instructor told us all to type in the command 'vim ....' . He seriously wanted vim to be the first Linux text editor that newbies learned. Thankfully, I just used nano instead, but, those poor souls......
I don't get it. Are you implying there is something wrong with that?
@@jimbarino2 um...... Yes....
@@KillianDefaoite it is worth it
@@jonathanduck5333 nano? yes. vim? no.
After you learn Vim other programs and key binds stream into your brain instantaneously. When you learn vim, you don't just acquire the ability to edit files -- your subconscious develops a new languages for keyboard shortcuts. Congratulations, your brain has just been upgraded with a new assembler!!
Pretty spot on. Although for people who haven't used vim, you really can learn the basics in an hour and it already will be apparent it can do things other editors can't
I use vim as my main editor for the last 20 years... and I only know the basics, and that's enough for me.
Like what?
@@undrashhe’s full of it or hasn’t used an actual ide.
@undrash its a modal editor, so the editor allows basically any keybind u want. for example, u can bind 's' to compile, u cant do that in other editors since 's' will just type a 's'
@@undrash^
Nice one! Can you do Mechanical Keyboard Enthusiast next?
Love my VIM and use an extension in every app I use-browser, ides, etc. I've never gotten to the point that I can do amazing things, but it's still helpful to have the basic commands for manipulating text more quickly. I think this comes from developing non-cli applications -it's changed my normal work position from "both hands on keyboard" to "hand on keyboard, hand on mouse", so it's sometimes faster to use the mouse since my hand's already there.
For the love of God please do one for CSS. I'm putting these on repeat for my devs in our breaks. Great comedy breaks :D
Yes for CSS! That thing could ruin your weekend single handledly lol, I'd love one episode on it.
CSS was a mistake (uninronically)
“It will be painful at first and painful at last. GOOD”🤣
What if I use vim mode in all my IDEs
Preach the EVIL way all the way!
Been there done that. I just hate that I can't access the menus that ways. Total buzz kill. Bad program. Back to vim :D
Cursed
Then you have reached true enlightenment!
Not only does Vim save you 5 seconds a day, it also saves you the cost of buying a mouse.
Man I loved this.
To me it saves peace of mind. I feel like it listens to what I want instead of guessing.
@@theodorealenas3171 are you sure you're talking about Vim?
@@DrDoctopus Yes! If I want to go to the dot, I just have to say it. I don't have to fiddle to get there. And if there's something I want at the bottom of the screen I tell it to go there, instead of somewhere roughly downward.
Vim is lovely I eat vim every day you got to try vim
@@theodorealenas3171 I'm starting to like your Vim more than mine.
if you're using a laptop with a touchpad, vim probably saves you 5 seconds every 10 seconds.
ed is the standard text editor.
it's so much better bc you don't waste all that space just to look at your document.
And the commands are so simple and clean, once you figure out how to get it to talk to you.
I always wanted to learn VIM, but as a relative beginner (just finished by engineering degree) I have so much more stuff that I need to learn, and oh boy does It require time.
vim can do all other ides can do, ++more. very powerful.
I thought he was going to say "... ++ more, very more" 🤣
I am still looking forward to the 'Interview with a Haskell developer'.
I've used a fair amount of vim. I learned it originally because my boss said it would be embarrassing if I couldn't show customers that I am a vim expert when assisting them with their problems. In the end, I just became a snob who judges others for not knowing vim, because literally every customer I have worked with is clueless and doesn't give a shit if I know it or not. I wish I could get a neuralink and execute 100000dd on the lines of data in my head from where I had to learn vim.
What do you do that would require showing customers that you are a "vim expert"?
OMG !
I started with vim, went to neovim, now started using spacemacs evil mode.
"vim actually feels quite natural, ... to people who use vim". Thats very true, cant live without vim or vim like editors
I'm confused. I expected this to be a parody, but everything you're saying is exactly right. Vim is always there!
A guy at our job was flexing his vim skills until we fired him a couple of months later. He never wanted to use a proper IDE and was creating so many issues in our codebase, issues that any proper IDE would have caught right away. I don't miss that guy.
Real devs don't rely on IDEs to catch bad code.
@@-Jason-L your the guy we fired lol.
@@oncle_dan why were his PRs being completed if they were creating issues?
@@levonschaftin3676 we were tired of finding the issues for him. Kill your ego and get yourself a proper IDE. It tells you a thousand things you can't see with your naked eye.
@@oncle_dantreesitter along with basic lsp configs are more than enough to avoid this kind of issues, package managers such as LazyVim and Packer also made things a lot more accessible... neovim ecosystem is a lot more friendly in general, with amazing docs to do very custom stuff or quickly setup things rather quickly... Your dude was just not aware of it
IDE is for people who like not knowing if their code is buggy or if it's just their editor.
IDE is for people who like to look at loading screens when they open a plain text file.
IDE is for people who like to have their hardware fan run all day.
IDE is for people who like having projects that are completely incompatible with the latest version of their editor.
IDE is for people who need videos that tell them what to click in order to run their code, then have it still not work.
IDE is for people who want to be completely lost when the interface changes slightly.
IDE is for people who want to spend a whole day trying to figure out why a specific button in their toolbar is greyed out.
IDE is for people who want to be useless in any technology not supported by their editor.
i switch editors fairly often, but the first thing i do in any editor i start using is to enable vim bindings, so it becomes usable. i sometimes open vim inside the vscode terminal, because it feels faster than trying to open the file in actual vscode when i’m already in the terminal
nah, vim is for losers
@@o1-preview what makes you think that?
@@asdfghyter a really bad day, knowing all the short cuts in nano and not having the necessity to write code inside a remote server
@@o1-preview i'm sorry about that and i hope that your day gets better, but please try to avoid taking it out on strangers on the internet if you can.
anyways, i'm not saying that anyone else needs to use vim, it's just what i'm used to and what's in my muscle memory, so it's slightly frustrating when i don't have the bindings available
@@asdfghyter sorry about that
“vim actually feels quite natural to people who use vim” - exactly, that’s why I use it!
It doesn't matter if vim never changes. What matters is how vim changes us.
He said it in the video but literally the only reasons I use vim are because it's fun and I don't have to use the mouse as much. It's not really better or faster or more efficient or anything.
Disagree. When I want to do some really deep editing - stuff where I need to munge up a file good - Vim with Macros is really the best way I have found to do it. And a special bonus is that once you have done it once, you are halfway to using sed in a Bash script to do the same thing repeatedly...
@@jimbarino2 Wow so useful for those tasks that make up 0.000001% of my work. Sign me up
This is not fair , I use vim on daily basis, it really saves time
:wq!
Everyone laughs at the vim guy until 3 people use 3 different IDEs and each of the project files for those IDE end up in the repository and merges are held up because of it.
Put those folder names in .gitignore?
@@KumarAbhinav2812 That would make the most sense but our IntellIJ guy insisted certain files get pushed because that is what it says on the support page.
This of course led to a meeting of over an hour.
@@chrisvannooten1218 I know a lot of ppl who like intellij - but it seems very topheavy. I use Doom Emacs for everything except debugging (for which I use vscode)
@@chrisvannooten1218 no you do not push the .idea folder into git, add the folder into gitignore , thats a user configuration and the project does not need it
Oh yeah, we all use VSCode and people still push them. Like... why.
I use vim regularly, last week I tried using with WSL, and something happened that I couldn't press ":" and suddenly I found myself stuck a it again, almost gave me some kind of nostalgia
"You can tell everyone you use vim, but secretly use nano like a normal person" - DT -
Vim and Vi aren't the same :(
But yes Vim is the best editor, and I would 100% recommend it at least the basics.
looking forward to your EMACS one. in my whole carrier I have met quite a few vim enthusiasts, but only one EMACS user :D
Same. He was a professor at my college. Students had to decide between vim and emacs and everyone chose vim.
He tried to tell us how amazing emacs was, but we all went the easy route. Still haven't touched emacs to this day, but use vim daily.
@@martinn.6082 No way! Same with me!
"I do use VSCode for looking at your projects, but if there's some smaller job, I'll use a simpler text editor"
Me: "and what editor do you use sir?"
"Eh. Is that a question now? We all use the prime one. Emacs."
O.O
"But you said you want a faster and simpler editor..."
"Eh Emacs isn't a text editor it's an OS"
I still don't get the logic behind that, he probably uses default Emacs with a daemon on startup from what I can guess. But I've never met an Emacs user otherwise.
That's because they inhabit a higher plane of existance.
The trick with Emacs is to have it always running, and use emacsclient to tell it to open files for editing. In my ~/.bashrc I have the line
alias e='emacsclient -n'
Then in any terminal window, I just have to type
e «filename»
to open that file in my Emacs session.
"You don't learn Vim, Vim learns you"
"You used it on remote servers anyways, you might just use it all the time" - Exactly what i'm doing now, but I still miss flinging buffers around the screen
I legit completely ditched my mouse and you Vim keybindings for literally everything 😂 I support this message