Give Me 20 Minutes and I’ll Make You a Vim Motions Expert
Video Overview & Insights
Start building with Windsurf, is the AI powered code editor by Codeium: https://wind.surf/devopstoolbox
Man watching since last 15 minutes but cant quit / save the file. wtf
---
✅ Build a Second Brain With Neovim in Under 90 Minutes: https://learn.omerxx.com/courses/second-brain-neovim
It doesn't support cyrillic! If i type "Абвгд", i can't simply press Esc and then W, because W is Ц in cyrillic
✅ Zero To KNOWING Kubernetes in Under 90 Minutes:
https://learn.omerxx.com/courses/k8s-from-scratch
Will it make you faster if you can type and move the mouse at the same time?
How to actually get started with Docker and containers, what matters, and how to elevate your local setup!
⌨️ The keyboard on this video is the Dygma Defy: http://dygma.com/DEVOPSTOOLBOX
I've been using vim for years and have fallen into very inneficient ways of doing things. This really opens my eyes to re-learning a better way to use vim. Thanks!
⚡ Tech I use: https://kit.co/omerxx/my-battle-station
⏱ Timestamps
You are using <S-B> to move to the BOL and <S-E> to move to the EOL. To me <S-H> and <S-L> would be more intuitive, because the directions of h and l are already burned into the and the fingers are already right there instead of "decoding" E for End and B for Begin.
A colleague is frustrated by learning hjkl. A typical situation is when he is writing something in Insert Mode. Then he discovers that a typo happend - a missing character, just one or two characters before the cursor. Then it is most inefficient and awkward to 1: switch to Normal Mode, 2: to type '2h' to go back two characters and 3: to switch back to Insert Mode to 4: insert the missing character and then switching back to Normal Mode to 5: go back where he has been editing before and then 6: switching back to Insert Mode to continue editing. Even if one is a fast typing person, this procedure takes much more time than just using the cursor keys for the correction instead vim motions. The entire process is so complicated, that one will even mistype multiple times during this over complicated process.
This is the moment where everybody who learns VIM movements goes back to the cursor keys and to the mouse. VIM movements are not helpful while writing text, it is only helpful when copying, deleting, pasting, jumping, formatting, etc. but for editing it rather seems to be an efficiency killer.
00:00 - Basics
06:10 - Sponsored: Windsurf by Codeium
Ohhhh nice tip to remap Esc, didn't even think of that!
07:16 - Advanced motions
I would add J to this
More User Perspectives
I was told 20 minutes but given 22 minutes 😠
@cyclingpanda1Good stuff, thank u
:wq
Nice AI generated script
@neffix6976I have been using vim for a while and I found two new things here : )
@keroShenouda-k9oI'm slow at coding because I'm dumb not because I use the mouse. We are not the same.
@sunsetinboldHow long on average would you say it takes to become relatively proficient? Like everything it's all muscle memory so I guess it's just how much you do it. Touch typing took me months because even though tools like Tipp10 are there and I forced myself to do it whenever I typed, the muscle memory developed slowly, I wasn't grinding away every day at it so it took me a long time before I could touch type as fast as pecking or hybrid touch /pecking.
That's the frustrating thing for me, just how it's tied directly to muscle memory and no matter what it's going to take me months or years.
what keyboard you're using?
@voruscreativeThank you for this video!!!
@RockyKayboaUnintuitive, unnecessary, and ridiculous. It's not about speed, it's about feeling like a hacker. Same reason people use Arch.
The vast majority of programming isn't spent typing as fast as possible (which VIM doesn't help with anyway). If VIM was actually good for that, then it would be used outside of the tech world for that purpose. But only autists who need arbitrary reasons to feel technically superior seem to care.
Today I finally get the Meme of Vim -> Vs-Code -> Vim / Beginner -> Intermediate -> Cracked.
I've been using vim for almost a week and today I wanted to edit a mistake in this comment with Vim motion. LOL
00:00 - Why Vim Motions Matter
01:07 - Normal Mode and HJKL Basics
02:30 - Insert Mode, Append, Escape
04:38 - Word and Line Movement
07:13 - Find, Repeat, and Count Motions
09:39 - Navigate Large Files
10:51 - Delete, Copy, and Paste
13:21 - Visual Mode and Replace Mode
14:24 - Matching Pairs and Text Objects
18:06 - Search, Repeat, and Replace
20:27 - Essential Vim Motion Recap
21:35 - Save, Quit, and Force Quit
thanks
@wanasleeepThank you for the really helpful guide!
@romanhan87What the theme name ?
@eriscryptPlease use VS code
@malikaljazzar986610:45 Once you set up Which Key you become a Vim motions expert automatically
@trismegis7us2/28/26
start learning vim movement
I prefer regular vim nvim is a bit too bloated for me and the easy configuration is not easy at all
@Woef718Where to get vim adventures?
@voswouter87How do these work on non english keyboards? To use dollar sign is a multi key operation
@bar10dr5:22 I don’t understand this part. The regex keys still can’t be used in the insert mode, so what’s the point of 0 and $ compared to I and A?
@zakaryan2004at around 16:57 you are able to use di" to delete within the quotes of a text object below the cursor position. I can't replicate that, for me it only works if it's on the same line. How are you able to do this in nvim?
@dvdmrnafter microsofts update my pc got so slow i can't even use my vs code. I found out about astro vim. When i first saw it it blew my mind. Its just looks beautiful. Not like ugly editors. I am learning now. But i will get there eventually.
@amirsuhel7184Using neovim genuinely made me type faster
@xeliotropA shortcut ive seen many years ago in a comment made me love vim so much when i was frustrated about the ESC being so far on keyboard. An official shortcut for ESC is " CTRL+[ "
@humphraylegareThe intro to this video is such an attack on non vimmers it's hilarious haha
@lucky-defense-guidesi wouldn’t say I am a neovim wizard, but there is no way I can back and not use vim motions
@nomisreualBetter yet, put it in 2X speed and teach me in 10
@DelBoy573please I need one about registers bcs I always screw them up
@stevenalexander6262Bro my left pinkie is so weak lol
@TechnicalSpectacled1:38 also known as LDRRR~~~
@casetern1610I use Zed, with many keybindings, making me never use my mouse, and actually making me as fast (or even faster for some actions) as a vim user
@jonathandufour8621There are too many situations where you don't explain well turning this video into a 40 minutes experience. Do it slower when explaining and use the correct words.
@ByynxVim is still utter moon logic to me.
@jmalmstenMaybe I've missed it, but I think it's also worth to mention :"+y which is used for copying the text into the right buffer from which you can later ctrl + v outside of the editor.
@vient9607This made me a neovim expert 😅
@Pioche_xIt doesnt make sense that the home row keys are jkl; and the movement keys are hjkl. You can remap that with:
:nnoremap j h
:nnoremap k j
:nnoremap l k
:nnoremap ; l
:nnoremap h ;
notice that no keys are lost since ; is swapped back with h. You can also speed up the cursor movement in your OS settings so that these cursor movement keys become very fast.
bro looks like a mugshot in the thumbnail lol
@VaporTrapif you're gonna show a stackoverflow post in the video, can you link it so people can actually find that answer
@indoorjetpacksIt's bad tutorial for some new folks!
@mzimmmai do not switch from mouse to keyboard. i instead compensate with apm on the arrow keys in nano x)))))))))
@lachsachgeschichten5202is any of this actually faster than vscode? a lot of this is built in vscode (like line select/delete etc) and I dont mean the vim addon.
vim is hugely overrated. and using a mouse isn't inferior in any way. if you believe that, stop using a graphical OS and work in a terminal for everything. lets see how loing that lasts. no browser, no MacOS just use a dumb tty terminal.
I want to see tooltips overlays and i can move to symbol about 100x faster with a mouse than using vim. same for browing, if you actually think enabling vim shortcuts and typing 3 letter obscure keys to click a link is faster than using a mouse you are deluded.
2:48 keys that middle finger is responsible for is higher. It's my first time seeing a keyboard matching the fingers' height difference. Besides being split and ergonomic. It's my dream keyboard i did not have an idea about its existence
@mreda2