VIM isn't about speed

Sdílet
Vložit
  • čas přidán 18. 03. 2024
  • Recorded live on twitch, GET IN
    / theprimeagen
    Become a backend engineer. Its my favorite site
    boot.dev/?promo=PRIMEYT
    This is also the best way to support me is to support yourself becoming a better backend engineer.
    Article link: levelup.gitconnected.com/vim-...
    By: Thomaz Moura
    MY MAIN YT CHANNEL: Has well edited engineering videos
    / theprimeagen
    Discord
    / discord
    Have something for me to read or react to?: / theprimeagenreact
    Kinesis Advantage 360: bit.ly/Prime-Kinesis
    Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
    turso.tech/deeznuts
  • Věda a technologie

Komentáře • 459

  • @henry-js
    @henry-js Před 2 měsíci +770

    The first time my fellow juniors saw my terminal and I told them "I use vim, btw", the wave of euphoria that washed over me was so strong I passed out.

    • @256k_
      @256k_ Před 2 měsíci +39

      for the first time in my life i'm on a team where out of 6 devs me and another person use neovim! so we get to geek out together on it.

    • @nealiumj
      @nealiumj Před 2 měsíci +36

      I get the opposite effect.. a wave of pure cringe when I mention it 😔
      I mentioned it in an interview today.. ~am I worried out a small -> big company shift.. “nope! As long as I can use my editor 🤠” ..then they ask what it was and I felt a wave of cringe as I answered ☹️

    • @emptystuff1593
      @emptystuff1593 Před 2 měsíci +13

      I had the opposite. I was a junior dev, a senior told me he was using vim. I asked him if he could rename some variable. He broke the code. He either didn't have an LSP or his LSP wasn't good enough to follow reflexive code. Then I told him that's why I use JetBrains.

    • @philsitumorang
      @philsitumorang Před 2 měsíci +8

      One guy asked - is it a mechanical keyboard, I said - yep.
      And he said - oh, you are using vim, right.
      And I thought - ok, looks like I am in trend now

    • @vaeep
      @vaeep Před 2 měsíci

      @@emptystuff1593So you use JetBrains just because HE doesnt know how to use Vim plugins properly? bruh

  • @priapushk996
    @priapushk996 Před 2 měsíci +435

    "I could go faster because I could go longer." You can't spell Viagra without V-I.

  • @intentionallywrongraw3896
    @intentionallywrongraw3896 Před 2 měsíci +298

    It's not about speed. It's about sending a message!

    • @zZGzHD
      @zZGzHD Před 2 měsíci +8

      that's what i say when waiting on emacs to do something

    • @zeuglcockatrice4633
      @zeuglcockatrice4633 Před 2 měsíci +8

      you wanna know how I got these scars? *shows fingertips*

    • @romangeneral23
      @romangeneral23 Před měsícem

      ​@zZGzHD then why you using emacs if you don't know how to use it??

  • @trylks
    @trylks Před 2 měsíci +84

    I was thinking: “Dang! He's fast!” Then I realized I was watching the video at 2x.

  • @Kira_x86_64
    @Kira_x86_64 Před 2 měsíci +109

    First leaned vim when I was 12 years old. I had just put linux on my old Toshiba laptop. Graphics Interface didn't work off of the bat because old gpu had 16 mb of ram. That was the day that I went to the library and they the linux book brought home (literally a printed copy of the x11 manual) and they scolded anyone using nano to edit config files. That is the day I became a man.

    • @Kira_x86_64
      @Kira_x86_64 Před 2 měsíci +7

      By the way. The x11 manual did nothing. Not what I needed. I should have just used just asked someone. I don't remember how I got it working but I still remember how it felt to see gnome boot up for the first time. Also, pro tip, if you think it is a problem with your windowing server ie a bug in x11 or Wayland, try looking at your desktop environment first. Generally x11 and Wayland are bulletproof and it comes down to a bad install or a all to commonly your desktop environment having a silly configuration for your hardware.

    • @occultsupport
      @occultsupport Před 2 měsíci +11

      you were a 100 years old at 12. I respect you (I use micro, Im a beta rn)

    • @Rudolfucius
      @Rudolfucius Před 2 měsíci +2

      your story doesn't add up.

    • @Kira_x86_64
      @Kira_x86_64 Před 2 měsíci +2

      @Rudolfucius Yes. Left out a lot of context. I am only 17 now. I am a Math&CS major at college. I am a little ahead of the curve. The laptop was made in 2000 so it was really slow. As for using the X11 manual, I am pretty sure it wasn't the actual x11 manual, just from what I recall it was written like a manual and was about the protocol and not about guis. Sorry for any confusion, I am not good at collecting my thoughts before writing comments and stuff.

    • @LordMegatherium
      @LordMegatherium Před 2 měsíci

      @@Kira_x86_64 I'm not trying to suss you out: if you somehow have the need to spin yarn that's your thing, so sincerely: the numbers don't totally add up from a cursory google search the Satellite 4000 series seemed had 2 MB of VRAM and the 5000 had 32. Doesn't really matter. If you at your young age somehow made that kind of a junker work: I respect you for that kind of stubbornness although I'm somewhat assuming that that was born out of necessity in a way. Who cares. Go hard, go far!.

  • @mlemImlem
    @mlemImlem Před 2 měsíci +211

    I'm different, I just hate mouses.

  • @AlexKadeby
    @AlexKadeby Před 2 měsíci +87

    I long for the day I get hired and can finally say "I use vim, btw" to a colleague.

    • @redpillsatori3020
      @redpillsatori3020 Před 2 měsíci +7

      Your comment just proves that it's the Arch Linux of IDEs

    • @shroomer3867
      @shroomer3867 Před 2 měsíci

      @@redpillsatori3020 What happens if you use both Arch Linux and Vim/Nvim? Do you just gain 100 pounds automatically and start growing a neckbeard in 1-2 business days?

    • @j3y445
      @j3y445 Před 2 měsíci

      @@redpillsatori3020 except for the fact that you can get actual work done with a text editor like vim, instead of messing around with config files for weeks just to get a waifu on ur desktop...

    • @Suleyman-kel
      @Suleyman-kel Před 9 dny

      VSCode is not an IDE, let alone Vim​@@redpillsatori3020

    • @emilnymann8723
      @emilnymann8723 Před dnem

      @@redpillsatori3020 What if I use neovim on arch and I'm hired?

  • @remrevo3944
    @remrevo3944 Před 2 měsíci +14

    24:05 There is also to paste the content of a register in insert mode.
    It's pretty useful if you need to paste the content of some special register like q, for example when writing/debugging macros.

  • @maxwebstudio
    @maxwebstudio Před 2 měsíci +13

    The ability to select, edit, delete, copy - between or around anything : < ... >, ( ... ) , [ ... ] , { ... } , ' ... ' , " ... ", ... , etc...
    feels natural and way more ergonomic (and efficient)
    Make a change inside parenthesis : just ci( or ci) that stands for c.hange i.nside ( )
    Copy what is inside the quote with the quote : ya' or ya" : y.ank a.round " "
    Amazing

    • @morgaelyn
      @morgaelyn Před měsícem +2

      Why use ci( when you can use cib? Saves a shift press. :)

  • @StrongestNerd
    @StrongestNerd Před 2 měsíci +57

    I received the Kinesis keyboard last week, and my wpm dropped from 80 to 10, lmao. I am progressing slowly and using my pinkies more than ever. Solid recommendation.

    • @-weedle
      @-weedle Před 2 měsíci +14

      dropped all the way from 90 to 40 myself when i switched and started properly using my kinesis pro and made some nice custom layers. Now I can consistently type 130wpm and it feels lovely

    • @SoreBrain
      @SoreBrain Před 2 měsíci +4

      I switched to qwerty and touch typing and went from 10 to 60 wpm in one week but it was rough

    • @chrishoppner150
      @chrishoppner150 Před 2 měsíci

      Took me about 2 weeks to get used to my Ergodox. Hang in there, it gets better (and then even better)

    • @frostytf2
      @frostytf2 Před 2 měsíci +1

      Yeah mine went from 130 to about a solid 8.. Came back up to about 80% after a few days though.

    • @matthewdouglas2373
      @matthewdouglas2373 Před 2 měsíci +9

      Isn't the whole point to not use pinkies too much

  • @stuvius
    @stuvius Před 2 měsíci +36

    I've spent more time configuring VSCode than Neovim. I just followed Typecraft's noob playlist for setting up your own Neovim config from scratch, and it got me 85% to where I wanted. I just try to use as few plugins as possible and I often end up using the default keybindings for the plugins, so my config is very basic and intuitive.

    • @maximofernandez196
      @maximofernandez196 Před 2 měsíci +5

      the same for me. Typecraft helped me a ton to learn how things worked. I just recently jumped to kickstart, I also like it a ton

    • @mattymattffs
      @mattymattffs Před 2 měsíci +4

      Dude, how. Vs code is install and go.

    • @stuvius
      @stuvius Před 2 měsíci

      The default keybindings and behaviour did not fit me at all. I had to spend a lot of time setting up comfortable keybindings for navigating the terminal and tabs.@@mattymattffs

    • @asdjzcx2619
      @asdjzcx2619 Před 2 měsíci +1

      ​@@mattymattffs Shh he just wants to feel better due to shitty ide, he cant process facts

    • @hamm8934
      @hamm8934 Před 2 měsíci

      @@mattymattffsi always have problems with lsps and extensions memory leaking on vscode. Also projects of enterprise size slow down vscode so much.

  • @lucaslopes1260
    @lucaslopes1260 Před 2 měsíci +30

    Fun fact: "vim" is Portuguese for "I came." (as in, "arrived") Brazil mentioned!

  • @2Fast4Youtube
    @2Fast4Youtube Před 2 měsíci +37

    These bots are so fast to comment because the use vim

  • @jimshorts4317
    @jimshorts4317 Před 2 měsíci +26

    If you need to be fast, you have a very different job than 80% of software engineers.

  • @TurtleKwitty
    @TurtleKwitty Před 2 měsíci +3

    To pastein insert you can " instead of p it's especially useful when dealing with the other registers casue it's direct so + is clipboard rather than "+p

  • @Yawhatnever
    @Yawhatnever Před 2 měsíci +6

    The cursed ones use Vim from a VS Code terminal moved into the editor area.

    • @robosergTV
      @robosergTV Před měsícem

      as one should. VS code has co-pilot chat which neovim lacks. Also Git and debugging UI and other plug-ins not in neovim

    • @ristomatti
      @ristomatti Před 15 dny

      ​@@robosergTV Or tmux split pane and a TUI for GPT chat (e.g. elia). There's Neovim debugging plugins as well. With that said, I use mostly JetBrains and Helix back to back depending on the task I'm doing. Debug, complex rebase, refactoring -> JetBrains. Quick edits or system config -> Helix. ssh to a server -> Vim. Heck, I even use VSCode for some stuff. None of them fit well for all use cases to me.

    • @Suleyman-kel
      @Suleyman-kel Před 9 dny

      ​@@robosergTVthat's.. not what he means

  • @kirkwolak6735
    @kirkwolak6735 Před 2 měsíci +3

    My first big software purchase was literally the BRIEF (emacs port) editor for DOS! I Could work so efficiently in it... NOW I understand your VIM love...

  • @susiebaka3388
    @susiebaka3388 Před 2 měsíci +10

    I use vim because I switch between headless Linux often. I have nested tmux and screen, vim makes it the icing on the cake

  • @HyvinHiljaa
    @HyvinHiljaa Před 2 měsíci +11

    i started to use vim motions cuz' i was writing some html(react) and my inner-hand started to pain. basically opening and closing html brackets and moving to next line is really painful without vim. your hands goes to mouse or arrow keys too much and that occurs pain. so i took the advice and start vim motions on vsc and my pain is gone. for me vim is not speed issue, it is medical issue.

    • @Conman9310
      @Conman9310 Před 2 měsíci +3

      Completely agree; after switching to vim motions myself it feels like an ergonomic necessity.

    • @zyriab5797
      @zyriab5797 Před 2 měsíci +2

      Same here! Vim + Colemak + Split keeb + trackball + standing desk. It's all about that sweet sweet ergo, baby

    • @smnomad9276
      @smnomad9276 Před 2 měsíci +2

      @@Conman9310 How long did it take you learn them?

    • @Conman9310
      @Conman9310 Před 2 měsíci

      @@smnomad9276I'm barely getting started, but I was already as productive as I was without them after abt a week

  • @annaczgli2983
    @annaczgli2983 Před 2 měsíci +11

    It's not about the speed; It's about the flex.

  • @davidpsmith77
    @davidpsmith77 Před 2 měsíci +2

    Surround is ace. For the first two weeks of using it I kept saying to myself "You suck, I win" to help me remember how to use it. I think the docs says the mnemonic is meant to be "You surround inner word" but I like mine better. Great vid!

  • @SoreBrain
    @SoreBrain Před 2 měsíci +22

    I absolutely hate repositioning my arm for the mouse. Vim motions I'm coming!

    • @johnyepthomi892
      @johnyepthomi892 Před 2 měsíci +5

      Mouse is for managers

    • @CamaradaArdi
      @CamaradaArdi Před 2 měsíci

      I just like working from my bed and the trackpad is bad. That's why I use vim

    • @chill8873
      @chill8873 Před 2 měsíci

      Its replaced with esc

    • @henry_tsai
      @henry_tsai Před 2 měsíci

      BUY A THINKPAD!!! Okay just kidding, but really you can consider it, or get that thinkpad style keyboard which has the trackpoint.

  • @s3rit661
    @s3rit661 Před 2 měsíci +5

    2:37 Nah, thank you, i'll keep my jetbrain product

  • @nevelis
    @nevelis Před 2 měsíci +4

    10 years ago coding in Vim with no X11 because I was running VMware + NSX stack on my laptop and needed all the RAM I could get, 1920x800 SVGA, decent custom console font, raw doggin it on the terminal

  • @zeocamo
    @zeocamo Před 2 měsíci

    the insert in insert mode, you can use the ctrl-r" for paste reg. and " for the current clipboard

  • @IndigoTeddy
    @IndigoTeddy Před 2 měsíci +4

    I may not be good at Vim (yet), but at least I can edit text and write-quit the editor w/out force-closing the terminal. Pretty cool, even though I'm still stuck on the Nano and VSCode mindsets.

  • @josegabrielgruber
    @josegabrielgruber Před 2 měsíci

    That's a cool article, focusing on how does VIM works and the reasons to use it; great for a beginner

  • @robertfox4114
    @robertfox4114 Před 2 měsíci +1

    The thumbnails aesthetics are getting better and better!

  • @tenbitube
    @tenbitube Před 2 měsíci +11

    Fun fact there is some science behind a clean room and helping stay focus with adhd. The gist of it is that it takes a lot of will power for your brain to ignore something. Similar to how you feel exhausted from ignoring your feelings. So minimizing what you need to ignore CAN help concentration

    • @orterves
      @orterves Před 2 měsíci +5

      But what if the distractions are coming from inside my brain

    • @smnomad9276
      @smnomad9276 Před 2 měsíci +3

      That is a solid take.

    • @hamm8934
      @hamm8934 Před 2 měsíci

      My life

    • @moonasha
      @moonasha Před 2 měsíci

      makes sense. I always got the most homework done at the library where there were no distractions

    • @Zipperheaddttl
      @Zipperheaddttl Před 2 měsíci +1

      As someone with ADHD and who is also naturally very messy, there is a massive correlation between my mood and the tidyness of my house. So I'm depressed all the time lol.

  • @Parker8752
    @Parker8752 Před 2 měsíci +2

    I kinda like helix, but I don't like the whole select then act way of doing things. I prefer the press an action, then say where to do it. I've also used the emacs default bindings, and they're ok (I could see them being easier to use on layouts like dvorak), but I always come back to evil mode when I'm using emacs.

  • @alaouiamine3835
    @alaouiamine3835 Před 2 měsíci +1

    I really enjoy these discussions more that anything ❤

  • @denlogv
    @denlogv Před 2 měsíci

    How do you search for code in your dependencies in (Neo)vim? Let's say I have a package in my Python env and want to search for a specific class there, how do I do that? As far as I understand, you can only grep in the project directory

  • @user-gm2rv8tv4e
    @user-gm2rv8tv4e Před 2 měsíci +1

    I know the basics of Vim motion but I haven't set up a workflow I'm proud of. I simply downloaded Nvim Kickstart and be having fun with it.

  • @tobiadeniji6630
    @tobiadeniji6630 Před 2 měsíci +2

    I started out as a sys admin and using Vi/Vim was a necessity. I found myself working a lot on old *Nix servers via SSH and no matter how old the OS version was, there would always be Vi or Vim installed. Nowadays I have transitioned into cloud engineering but old habits die hard.

  • @nerdycatgamer
    @nerdycatgamer Před 2 měsíci

    similarly to how prime switched to dvorak and kinesis because of wrist pain, i get pretty bad shoulder pain, and switching from mouse to keyboard exaserbates that, so i prefer tiling wms, terminal applications, and, of course, vim.
    i've actually found that having my wrists close together (how they get put on a small-ish qwerty keyboard) is more comfortable for my shoulders (and my wrists dont notice a difference between it and ergonomic setups), versus having them spread out.

    • @zyriab5797
      @zyriab5797 Před 2 měsíci

      I found that the angle mod of Colemak on an ISO keyboard did wonders on a regular keyboard, regarding wrist positioning and stress mitigation.

  • @wumwum42
    @wumwum42 Před měsícem

    10:23 I used nvim and switched to helix since I really like the features helix provides ootb. The selection-first model amd key popup especially helped me learnig the keybinds. After having to use vim keybindings for IDEs I tried switching back to nvim but wasnt able find a way to make a setup as good as helix, so I started using both instead and it isnt nearly as confusing as I expected.

  • @PraxisPragma
    @PraxisPragma Před 2 měsíci +1

    Guys, VIM is parkour for text editing. It's a bunch of weird yet smooth motions that get you from A to B in the most efficient way possible.

  • @khalidowlwalid4330
    @khalidowlwalid4330 Před 2 měsíci +1

    1:38 He highlighted the whole sentence
    1:48 Decides to obliterate it by missing out the first and last letter. Proceeds to continue doing it for the rest of the vid

  • @EzBz982
    @EzBz982 Před 2 měsíci +1

    I started learning Vim in a browser game called Vim Adventures before adopting vim keybinds in VS code in my work before finally adopting Vim entirely. There’s no going back.

  • @pav5000
    @pav5000 Před měsícem

    I'm trying to learn how to use nvim now but stuck with inability to find how to do some convenient actions which I was using in VSCode. Maybe there is some guide for switchers like me? For example in VSCode I comment/uncomment selected lines of code with ctrl+/ but there is no shorcuts for it in nvim. Also cannot find how to do proper interactive multicursor in nvim and actions like "create one more cursor at the next word that matches selection (ctrl+d in VSCode)".

  • @carchocolate93
    @carchocolate93 Před 22 dny

    As someone who's spent a lot of time playing guitar, do you think moving from home row to mouse and back is as much of a hurdle as people make it out to be?
    I hear people say they use vim bindings because they only want to touch the keyboard, and i kinda have to assume that the repositioning isnt a priblem because of countless hours of practice changing hand position on guitar and piano...
    Curious if any others share my experience or think otherwise

  • @Codigger-br2rt
    @Codigger-br2rt Před 2 měsíci

    I want Vim to place the cursor in the middle of the screen after searching. How do I center the cursor position after searching in Vim

  • @jsdutky
    @jsdutky Před 2 měsíci

    I was taught vi in college, but I didn't really learn in till years later when I borked my Slackware install so badly that termcaps wasn't working, and I had to learn ed/ex just to repair the installation. After that I decided to use vi because if was always available on any system no matter how restricted the system.

  • @bentomo
    @bentomo Před 2 měsíci +1

    As someone with ADHD, it's not just about the going faster and having fun, but not needing to touch the mouse and get distracted with constant pings and notifications. Every time I open outlook to look at my calendar, I get distracted by a new email, and when I go to look at my email, I get distracted by when my next meeting is. And slack is just as bad. The terminal is my safe focus space now.

  • @adissentingopinion848
    @adissentingopinion848 Před 2 měsíci +6

    9:37 I'd just like to interject for a moment. What you're refering to as Vim, is in fact, Vim/Vim-motions, or as I've recently taken to calling it, Vim plus Vim-motions. Vim-motions is not an editor unto itself, but rather another free component of a fully functioning Vim system made useful by the Vim keybindings, custom remaps and custom user commands comprising a full editor as defined by ThePrimagen.

  • @ivanheffner2587
    @ivanheffner2587 Před 2 měsíci +4

    Damned kids with their Improved vi. I was just out of high school when a coworker sat me down at an Irix workstation and said, “This is vi. You type a or i to be able to type. Press Esc to be able to move around. Use h, j, k, and l to move around. Press Esc and then :wq to save and exit.” That was the end of the lesson. Several years later, someone introduced me to this new-fangled “vim”. I didn’t see the point of the change (at first), but it was compatible with everything I already knew about vi so fine.

  • @spookemsmagoo4u
    @spookemsmagoo4u Před 2 měsíci +2

    Its like saying I use a rotary phone because its more kinetic, its fun

  • @likwidsage
    @likwidsage Před 2 měsíci +3

    I use arch, vim and a custom split kb btw.
    /micdrop

  • @AlFasGD
    @AlFasGD Před 2 měsíci

    The only reason why I have not (yet) learned to use Vim motions is that I'm already pretty blazing fast when writing code. Might eventually switch sometime in the future, but at the end of the day the speed at which I get things done is fast enough that learning Vim is not mandatory, as long as I've learned how to use the editors of my choice.

  • @adarsh3196
    @adarsh3196 Před 2 měsíci +1

    @ThePrimeagen After 5 years of neovim i moved to vscode i think you did config the vscode vim binding properly, my bindings exactly same as it was in neovim, i just don't have to deal with lsp (lsp is the reason i moved to vscode, managing it in vs code is much simpler)

  • @CielMC
    @CielMC Před 2 měsíci

    34:50 the way I put it is that Vim gives you a language to clearly express your intentions to the editor, it lets you think about what you want to do instead of how to do it, because you know if you press those keys it will do that thing.

  • @DavidMorash
    @DavidMorash Před 2 měsíci +1

    I use vim, because vi was the only real choice of editor on SunOS when I was in university. 30+ years later it's served me well. I'm by no means an expert, but vim with a good set of plugins rivals and IDE for the work I do. And for all the complaints about vim being obtuse, yep sure is. Have you seen the javascript ecosystem?

  • @AzCowboyOne
    @AzCowboyOne Před 2 měsíci +1

    From an engineers point of view... vi is on every *nix distro ever... so its on every box I have encountered in the wild.

  • @alexschexnayder8624
    @alexschexnayder8624 Před 2 měsíci

    I learned some basic vim motions a few years ago as a history major and started writing my papers in vim and then formatting in a different piece of software.
    Switched majors to CS, met a guy that uses emacs this semester. Switched to emacs.
    Couldnt get used to standard emacs editor behavior. Configured emacs to default to vim motions.
    What kind of rollercoaster have I been on?

    • @sfulibarri
      @sfulibarri Před 2 měsíci

      I don't think that's rare tbh, well relatively speaking. I've seen lots of comments on reddit and youtube where people want things like org mode but prefer editing in vim, emacs with vim bindings is a happy medium.

    • @alexschexnayder8624
      @alexschexnayder8624 Před 2 měsíci

      @@sfulibarri honestly you're not wrong.
      Most people at my University (that aren't professors) are usually more weirded out by the major switch.

  • @kenneth_romero
    @kenneth_romero Před 2 měsíci +1

    I'd argue VSCode is easier to get to a decent speed due to Ctrl/Cmd + Shift + p. you can just search what you're trying to do, and it says the shortcut keybinding on there, too. Eventually you'll just learn the keybind.
    (Though Kickstart has which-keys installed by default, so 🤷‍♂)

  • @SimGunther
    @SimGunther Před 2 měsíci +4

    Very first point is laughable because there's plenty of text-related tasks like extracting the 4th field in a 100k+ line file that has a weird format which would take 40+ minutes to do manually that can be done with a macro in less than 30 seconds.
    So yes, it can actually make you many minutes faster if you learn a bit about how vim macros work.

    • @ThePrimeTimeagen
      @ThePrimeTimeagen  Před 2 měsíci +4

      yes, i am tired of having that argument with people because they just _do not understand the macro_ therefore its ... well its a dead argument

    • @GreyDeathVaccine
      @GreyDeathVaccine Před 2 měsíci

      You could also learn awk 🙂

  • @pencilcheck
    @pencilcheck Před 2 měsíci +11

    Another better analogy: IDE vs vim is like factory worker vs creative artists. As a factory worker, you don't need specialized/personal tools, you just need the tools provided by the company. You are just a resource. However as a creative artists, you take control of your work creation, you need the right tools that can allow your maximum creative output.

    • @Slashx92
      @Slashx92 Před 2 měsíci +1

      Not that into the duality but I agree. Even someone like me, doing erp automations, can have they joy of using tools that makes me do my job more comfortably (that said, I use vim motions with vscode in my work machine, but it’s a compromise)

    • @mjiii
      @mjiii Před 2 měsíci +2

      I'm not sure which one you're saying is the factory worker in that analogy. The analogy could be made to work both ways depending on what the person making the analogy thinks about both the value of maximizing productivity vs artistic ideals and their opinion on vim/IDEs.

    • @jeanlasalle2351
      @jeanlasalle2351 Před 2 měsíci +3

      Like a tool allowing custom extensions with custom views and rendering?
      Both have limitations, one more than the other and not the way you try to make it seem.
      Your metaphor can also easily be reversed.

    • @pencilcheck
      @pencilcheck Před 2 měsíci

      @@mjiii I'm not sure what is confusing about the analogy. e.g. If workers are on a conveyer belt working to get a food item out, the tools and stuff is designed and placed not by the worker, but by their employers. And the project is already taken shape, the workers have no choice for freedom of expression, they can only follow the assignments.

    • @pencilcheck
      @pencilcheck Před 2 měsíci +1

      @@jeanlasalle2351 I don't see how this is confusing. Factory means all the tools, process are designed by the employers. As a worker, you have to learn everything to use the tools correctly. Your freedom of expression is limited by the employers. They wouldn't want you to have whatever you want.

  • @jacobwhitecotton
    @jacobwhitecotton Před měsícem

    ok i at first didnt know what touch-typing is. after looking it up, genq, how does anyone code period without touch typing? that would take forever

  • @LeFlamel
    @LeFlamel Před 2 měsíci +3

    re: vim vs helix, I think ubiquity is a niche concern unless you spend most of your time SSHing into server environments that you explicitly don't have control over.

    • @ildarakhmetgaleev
      @ildarakhmetgaleev Před 2 měsíci +5

      I'm fine with SSHing to remote hosts and using basic VI and VIM. But recently started Nvim after half a year in Helix and could not remember how to use LSP in it. Helix has much better organised hotkeys and help dialogues everywhere.

    • @LeFlamel
      @LeFlamel Před 2 měsíci

      @@ildarakhmetgaleev yep, the few times I had to do it I used vi just fine. There's enough overlap that as long as I remember that it's verb-object and don't try to do anything fancy it's perfectly fine for changing a couple config/env vars.

  • @AndersJackson
    @AndersJackson Před měsícem

    Emacs keybindings are also useful in other places. Like standard keybinding in Bash etc.

  • @TwentyNineJP
    @TwentyNineJP Před 15 dny

    I really don't remember when I discovered or learned Vim (I'm barely in my thirties btw)
    If I were to guess, though, it was shortly after I installed Wubuntu on a whim during a rainy day in 2008. There was some period after that when I started looking into terminal programs (including web browsers) just because I thought it felt and looked cool to do things in the terminal

  • @lipepaniguel
    @lipepaniguel Před 2 měsíci +1

    Prime speaking Portuguese was the icing on the cake. And it wasn't bad, honestly.

  • @clarkytk
    @clarkytk Před 2 měsíci

    The first time i really knew what vim was about was when i paired with a dev who was junior to me and was insanely fast. Since then, I've had the same effect on others and it's just awesome.
    I love vim its fantastic

  • @Vagulis2
    @Vagulis2 Před 2 měsíci +1

    Why not use VS code with VIM motions? Is that way more different from using VIM + Vim motions?

    • @sfulibarri
      @sfulibarri Před 2 měsíci +1

      Nothing wrong with that, think prime himself started with vim bindings in another ide. It's at least a good way to try it out and if you find you like motions but don't care to go deeper just stop there.

    • @defeqel6537
      @defeqel6537 Před 2 měsíci +1

      That's what I do, but there are cases where it's just too slow. Perhaps the plugins are too heavy or something, but nevertheless. Vim is also useful for quick config edits, etc., simply because it starts faster

  • @zyriab5797
    @zyriab5797 Před 2 měsíci

    I started using Vim motions to stop my growing TSI (pain in the backhand because of using arrow keys on a shitty MacBook keeb).
    I then moved to Neovim because it's better than VS Code for what I do and what I want tooling-wise.

  • @ike__
    @ike__ Před 2 měsíci +8

    I rarely ever use my mouse even with IDEs like jetbrains and VSCode so I want to move to vim after my A-levels when I have more time

    • @pluto8404
      @pluto8404 Před 2 měsíci +4

      the learning curve is steep but short. No different than starting a new video game and learning a few key combos. Id says 3 days of steady use to be as productive as other ide's, then only up from there as you level up skills and unlock new key combos and power moves.

  • @learnidotapp
    @learnidotapp Před 2 měsíci

    Im actually learning, vim and the way I could navigate super fast is nuts!, like it is literally taking me, less time, than reaching my mouse,

  • @prestonrodeniser893
    @prestonrodeniser893 Před 8 dny

    Its about sending a message
    Me: before even watching the video.

  • @kr0ncG
    @kr0ncG Před 2 měsíci +2

    I just want to thank you Mr. Primeagen, sir. Thanks to your videos, I did a trial by fire (after learning the very basics of vim motions a couple times) and torched VSCode. I forced myself to learn and use Neovim... It has been 8 months. I am the most productive I have ever been coding. And since I manage quite a few remote servers, it has just made everything buttery smooth. (i hated nano btw)

  • @demolazer
    @demolazer Před 5 dny

    I couldn't agree more. I'm new to Neovim and after installing kickstarter, I am able to see the hints, like if I press D I would see that $ is end of line, so takes me a second longer to enter. I can type pretty fast but have to sometimes shamefully look at the keys, I certainly can't touch type. I am getting faster and need less reminders over time.
    I still enjoy it and feel more productive than VS Code despite being a fair bit slower than others. It is not at all essential to be super fast IMO.
    It's also a myth that it takes ages to set up, when you can download entire init.lua files prepared with everything and copy paste a couple of other bits you want. There are NO excuses for not using Neovim everyone.

  • @packtrouble6270
    @packtrouble6270 Před 2 měsíci +1

    My first experience with vim. I had to turn off my entire workstation to be able to get back to the desktop. XD

  • @tenisviejos
    @tenisviejos Před měsícem

    I use Excel at work most of the time without touching the mouse and the productivity difference of using shortcuts and sequence or keys (to reach other commands in the ribbon bar) to get this done is ABYSMAL. I guess Vim Motios is the next step for me as my new responsibilities imply maintaining lots of code and configurations on existing files. This is an amazing video. Thank you!

  • @henry_tsai
    @henry_tsai Před 2 měsíci

    Funny how I use vim is because... I learnt it first. The linux textbook that I read presented vim as THE "text editing command" (took me some years before realizing that the "commands" are actually independent programs that the shell searched up for me), and only after the lengthly tutorial it mentions nano as a side node, by that time I've already get used to the basics of vim and was intimidated by nano's completely different UI.

  • @carljosephyounger
    @carljosephyounger Před 2 měsíci +2

    A lot of people _cannot_ touch-type, due to all kinds of disabilities, and many programmers have tried it and decided it's not for them (it's uncomfortable, unless you sit upright, at a desk, using two halves of an expensive, ugly keyboard), so they use modal editors to be productive without having to type as fast.

    • @Electric_Bill
      @Electric_Bill Před 2 měsíci

      Prime says such people will never be good programmers.

    • @TheKastellan
      @TheKastellan Před 2 měsíci

      @@Electric_Bill I mean he doesn't he does have the nuance but he muddles it with so much "joking" insults and such that you can never really see that, like he expects you to know everything about him to know that is the case.
      Like I am sometimes confused whether he actually realises the way he speaks is quite alienating and unhelpful, I have watched his content because I quite like it but for the longest time I just didn't agree with a lot of his takes until I watched enough where I was like "oh ok that is what he means". (And even then I still don't agree a lot)
      Like how do you expect anything to actually constructively listen to you when you just put down anyone at every turn.
      I really hate when people just go "hard truths deal with it" because at least for me that has NEVER worked, for myself or for anyone I know, it always takes meeting someone in the middle to actually do anything.

  • @UnderTrack_
    @UnderTrack_ Před 2 měsíci +4

    hot take: a software should have both a beginner-friendly and advanced-user-friendly setup;
    What I mean by that is that the core should be beginner friendly or have beginner friendly work arounds to achieve things, that should be the default of the software, and after you get more advanced and used to the software, there should be those more advanced user friendly controls and features, with a quick way to toggle from one to the other so that advanced users that make a new install don't loose time having to switch from beginner to advanced mode

    • @Slashx92
      @Slashx92 Před 2 měsíci +1

      I agree but not entirely. The problem is that “beginner friendly” is almost always buttons and mouse usage. For something like vim, that has a manual and tons of “how tos”, is not really the target for that philosophy. It even has a chela sheet, a guide and a game to learn to use it

  • @poweruser64
    @poweruser64 Před 2 měsíci +4

    4:11 I couldn't touch type until I started using vim.
    Used to type at 10 to 20 wpm (didn't feel good about it either), but within a year of starting to use using vim I was consistently hitting 40 to 50 wpm.
    This taught me a really valuable lesson, that it's a lot easier to learn something when there's a strong immediate application for it. I don't know how true this is for others, but it's certainly true for me.

  • @noredine
    @noredine Před 2 měsíci +1

    Vim? Walk in the park? Maybe a walk in the park where walking is like playing QWOP

  • @mo.G_2020
    @mo.G_2020 Před 17 dny

    I joined the community a few months ago and now I can finally say "I use Vim, btw"

  • @davr9724
    @davr9724 Před 2 měsíci +1

    Title: VIM isn't about speed
    Video and Article: Look how much time VIM and VIM motions can save you

  • @S4ntia60
    @S4ntia60 Před 2 měsíci

    How does Mr Prime deal with dvorak + vim? does he remap all key?

    • @zyriab5797
      @zyriab5797 Před 2 měsíci +1

      No, the keys are usually more about the letter an not its position.
      I use Vim with Colemak and did not remap anything.
      For hjkl I either use Colemak's positions (,ynu) or I mapped on my system Alt+hjkl (qwerty positions) to act like arrow keys and use that.

    • @S4ntia60
      @S4ntia60 Před 2 měsíci

      @@zyriab5797 thanks. I use colemak-dh but ultimately resorted to the bottom row where I have the arrow keys in a similar layout to vim's hjkl which kinda loses appeal since it's not the home row anymore

  • @gavinvales8928
    @gavinvales8928 Před 2 měsíci +7

    As someone who switched to daily driving helix, from nvim, I wish it used the same bindings and selection order every day. But I stick with it because it requires little to no setup, and the multi cursor support is legendary

    • @sub-harmonik
      @sub-harmonik Před 2 měsíci +2

      I feel like by the time you set up multicursor to do something that can't be done simply with a macro, search-replace, or visual block mode it isn't worth the trouble.
      but I also haven't used multicursor at all so idk

    • @hamm8934
      @hamm8934 Před 2 měsíci

      @@sub-harmonik honestly, the multicursor problem in vim is a skill issue. Nearly all multicursor usecases can be solved with visual block mode and :s/[oldValue]/[newValue] or a macro, as you said.

    • @sub-harmonik
      @sub-harmonik Před 2 měsíci

      @@hamm8934 yeah I would think placing the multicursors correctly would be about as much work as find-replace if not on consecutive lines, and if on consecutive lines you can use visual block or execute a macro on each line easiliy

    • @barongerhardt
      @barongerhardt Před 2 měsíci

      @@sub-harmonik Among my favorites is to use /pattern, set up swap with :s/old/new, then use repeated / and . to go to next and apply, if needed. Just want to apply to rest of file, up, add ',$', done.

  • @ttdat89
    @ttdat89 Před 5 dny

    I love Vim motions, but I can't live without VSCode's features and plugins. It just works without much configuration, so Vim extension is perfect for me

  • @gjermundification
    @gjermundification Před 2 měsíci

    10:04 No! The amount of resources while operating [neo]vi[m] is like 5% compared to any GUI based IDE.
    I'm a part of the Discord OR Slack on Sunday crowd BTW. Not both.

  • @TheCartographeraoe
    @TheCartographeraoe Před 2 měsíci +2

    Welcome to the vim side

  • @Qrzychu92
    @Qrzychu92 Před 2 měsíci

    I enabled Vim motions in my Intelij C# thingy like two months ago, and after the inital warm fuzzy feeling of "this is awesome", now I am stuck in "some bits are super annoying, but it sucks when I disable it".
    The whole yank/delete into a register business feels really bad - I still use just ctrl+c/v for that.
    I remapped Home to ^ (and couple more things)
    Now I started changing things like fuzzy find everything (best feature of the IDE ever!) to f e - it starts to click.
    I also tried to switch to actual Neovim for the frontend project in Vue, but the syntax highlight doesn't pickup the in .vue files and I am really sad about that. I got the LSP to work, but it feels pointless to look at code in a single color :( if anyone knows how to do it, please help :D

  • @AndersJackson
    @AndersJackson Před měsícem

    Who was it at 2:06 that used Emacs? I want that!

  • @stretchbrah5627
    @stretchbrah5627 Před 2 měsíci

    Not a hot take, not a humblebrag, but I started learning VIM in my intro to programming course at Uni right now, and I have no idea how I lived without it beforehand. I'm a sysadmin by trade, and the amount of time I have spent in notepad++, kate, vscode, and other editors all seems pretty ridiculous now.
    I do think it's definitely an ADHD thing, because I have been hit real hard with that particular bat, but even just the experience of learning VIM has been awesome. Every day finding something and going holy shit, it can do that!? I have to use vanilla on the uni computers but on my machine I've got NeoVIM so most of my work gets pushed to git from uni, pulled to my machine, and worked on more with my very lightly riced nvim.

  • @kr0k3tt
    @kr0k3tt Před 2 měsíci

    I've been using vim motions for a while in vscode for a while now. The experience is okay but some day soon I'm going to make the jump.

  • @KLR-3
    @KLR-3 Před měsícem

    4:10 I learned to touch type because I wanted to get the benifits of vim.

  • @1Caja
    @1Caja Před měsícem

    13:25 I bought a set of blank keycaps and switched to vim at the same time. Best decision I've made so far because it forced me adapt fast and the skill of typing while looking my girlfriend in her eyes makes even "I use vim btw" sexy

  • @ConcerninglyWiseAlligator
    @ConcerninglyWiseAlligator Před 2 měsíci

    You made me notice that my journey of getting better at VS code progressively morphed my usege into pretending it was Vim.
    I'm currently attempting to make the alongside TJ's tutorial.

  • @maximofernandez196
    @maximofernandez196 Před 2 měsíci

    I agree with the visual distraction thing. I like vim because of that, there's almost nothing on screen but the text

  • @natrixnatrix
    @natrixnatrix Před 2 měsíci +1

    Everyone seems to have been happy with using the mouse and arrow keys until they learned vim. Am I the only one who found out about vim motions because they were googling for a way to avoid having to reach for the arrow keys all the time?

  • @luizfernandopereira5120
    @luizfernandopereira5120 Před 2 měsíci

    After trying Helix for a week i just realized that they are trying to be the vim flavor for developers by wrapping the most used plugins into the editor core making them work natively which could minimize any customization stress. I'd love to see the same thing with vim

    • @caerphoto
      @caerphoto Před 2 měsíci +1

      That's what 'distros' like NvChad, AstroVim and LunarVim are all about.

    • @luizfernandopereira5120
      @luizfernandopereira5120 Před 2 měsíci

      @@caerphotonot quite, because what they do its add a bunch of plugins together and configure them but they not work properly, I've used all of them and at some point they were as slow as vscode because of the amount of plugins

  • @algramic195
    @algramic195 Před 2 měsíci

    Been using Vim (Motions, in IntelliJ) for a year or so now, and I don't feel a second faster. I often switch to mouse to move the cursor or select something, because it's either faster or just as fast. I think Vim Motions is more enjoyable to use, I have a lot of fun using it, but I don't find it faster at all.

  • @brentlio5578
    @brentlio5578 Před měsícem

    "You'll be a much happier individual if you spend your day doing anything else than being angry on the internet".
    If only I could subscribe 30 more times. lol

  • @akak5128
    @akak5128 Před 2 měsíci +1

    vim motion and tiling window baby, lets gooo

    • @GreyDeathVaccine
      @GreyDeathVaccine Před 2 měsíci +1

      A few years ago I first heard about tiling window managers. At first, this idea seemed unconvincing to me. I was lucky enough to come across a great introductory video to i3wm. I changed my mind in an instant. Using the computer this way has become the default for me. When I have to use someone else's computer it feels clunky for me.

  • @jamescritchlow3445
    @jamescritchlow3445 Před dnem

    on that whole don't use vim if you don't know how to touch type, vim is what taught me how to touch type.

  • @MrDgf97
    @MrDgf97 Před měsícem

    People forget how these tools were made specifically for developers, and that the mouse, arrow keys, etc. were made for general consumers later down the line.
    Nowadays, most developers were once casual consumers of computers (including myself), so our perspective is colored around using general consumer interfaces. It feels archaic at first, but the long term gain is ridiculously high

  • @barongerhardt
    @barongerhardt Před 2 měsíci

    There is so much around vi (and emacs) that is like a homebrew custom tool. It is the only what is needed to get the job the done. An IDE is what you get when a corporation building it. Now the programmer is but one small voice in the room with the CEO, board, artists, marketing, ... No, I really don't need/want rounded corners, transparencies, or animations that look pretty to sell to the next company. I just want a streamlined tool that runs smoothly, in almost any situation.