2:10 Opening VIM 2:59 Exiting VIM 4:15 Save without quitting 4:25 Move with h,j,k,l 4:55 Going into insert mode 5:05 Going back to command mode 5:11 dd for delete line 5:40 Use arrow keys to move (not recommended) 6:00 G and gg for top and bottom lines 6:46 {,} to skip blocks of code 7:30 Using numbers to loop command 8:20 u for undo and redo 9:22 Cntrl+r for redo 10:05 yy for copying line 10:17 p for pasting line below 10:24 P for pasting line above 10:44 using dd to cut a line for pasting 11:24 use V for visual line mode to select lines 11:55 Do stuff with selected lines 12:15 o for inserting the new line below 12:45 O for inserting new line above 13:30 d+ to delete characters 14:55 w to jump forward words and b to jump backward 15:25 : to jump to specific line 16:01 0 for the beginning of the line and $ for the end of the line. 16:10 ^ for beginning word 16:40 W for jumping forward a word (ignore punctuation) 17:50 t+ and f+ to go to specific character in a line 18:22 % to go to specific block parenthesis 20:05 c+ for changing characters 21:01 D to delete from cursor to end of line 23:44 * to search for other instances 25:27 ; to go to the next instance of a character when using t,f 26:11 zz to center your page based on the cursor's position 27:10 a to insert from the right of the character, i to insert from left 27:36 A to insert from the end of the line, I to insert from the beginning of the line 27:52 x to delete a character which cursor is on 28:34 ~ to change the case of a letter 29:32 . to repeat the last executed command 33:01 r to replace a letter, R to go to replace mode 34:34 Commend combo to move a chunk of code from bottom to top 36:11 Commend combo to wrap a chunk of code 36:48 >> to indent line,
This is a great tutorial but since it is quite long I thought I'd note timestamps. If I missed something or I can word any of these better, let me know in the comments
I just manually searching the timestamp of the video if I forgot the vim command :( It's been 2 years up until and I found this comment is super useful. Finally! Thank you so much :)
As a regular Vim user, the key thing about Vim is that it doesn't have what you consider "keybinds", it has a dialect where you tell Vim what you want to do. All the keys involved are words to build a sentence telling Vim what you want to do. Don't memorize the complex commands, memorize the keywords in the dialect and you should have an easier time in Vim. d3w : Delete 3 word(s) y3w : Yank/Copy 3 word(s) 3p : Put/Paste 3 (times) dt" : Delete To " 3j : 3 lines down di": Delete inside "..." dG: Delete to the bottom of the file Final suggestion, don't copy someone's config, build your own and add things when needed to get a better understanding, in addition to being more prepared for using it in server environments where nothing is configured.
i tried vim before, and i looked into some vim commands, but watching them in action and with some use-cases is just way better for learning, of course i will not learn everything by the end of this video, but just knowing that those commands exists is so helpful thanks man!
(I recommend everyone to try relative line numbering. It will give you absolute superpowers. For example, instead of going up and down the screen with j and k repeatedly, you just look where you want to go, enter the amount of steps needed (which is visible directly on the screen without needing to do any math), then just press j or k one time. It is magic!)
@@victornecromancer cara, o básico de movimentos é bem rápido, mas precisa se acostumar com os seletores e o search, a primeira semana foi meio improdutivo, depois disso foi bem normal.
It makes it much easier with the proper names. Like also when you said “w” means save, then you can quit. “w” is for write, much easier to remember. And “f” and “!” takes you ‘on it’. First time watching this would feel like these characters are random. But you should instead say “f” will find in the line forward from your cursor, and as with most capital letter commands, capital “F” does the same thing but backwards from your cursor.
Your video either pulls in a new user for vim. Or seals the deal for a beginner user. I've been using it for a few months now. At least I thought I was"using" vim. Shiiiiiit I need to start makin notes. gg!!!!
One cool thing I have learned recently that Crtl+C does the same thing as ESC, which saved me a lot of time when changing mode. Another thing is that you can jump to any line by typing 'gg'. That certainly makes navigation easier.
Oh my God I've been barely touching what's possible. I might dedicate a 3 hour block of my day tomorrow to practice. I've been using vim for over a year now. I can't wait to use some of the things I'm learning in this video. I'm going to be so much faster. I didn't know about 't'. I've been only getting better as I Google things. Thank you!
Saw this video about 15 months ago. I started using vim, then Linux, and then got down a huge spiral of knowledge. I found my love of computers and programming again. Thanks for sending me down this rabbit-hole :)
Yeah, not sure what it is, but I think you're pacing for explaining stuff is perfect. You have a good flow without needless utterances. Not only that, but you kinda just get to the core + essential details without any of the needless BS. Thanks man :)
Great to observe your behavior, thanks. Things I've picked up here: - Esc binding; - Usage of `b`, `f`, `W`, `^`, `q macros`, '%' ; - `C` changes to the end of a line. - Block visual mode `Ctrl-v` seems compelling; - cVim plugin * Just recapping for myself :D And would like to mention: `S` - remove content from a line and switch to insert mode.
@@bawad I just figured out that it works the same as `cc` :D But here is the thing which I found useful: `ciw` - change the whole word no matter where the cursor is; And one of many alternatives for `F2` and `CTRL D`: `/term-to-replace` => `cgn` => `new-term` => `.`
Thank you for this!!!! I got stuck inside of Vim a few times and I never wanted to go back in there ever again ;-) I didn't realize until seeing these videos you made, just how fantastic it is - looking forward to learning it and using the vim extension for vscode to become more efficient. Now I'm not afraid to enter Vim.......for fear of getting stuck in an infinite loop...
20:50 G 21:02 D delete to the end of the line 21:20 C delete to the end of the line and put to insert mode 21:40 ct} 23:43 * find 26:11 z focus the screen where your cursor at the center 29:33 . re does the last thing you do 36:08 O
if you are in a word you can do ciw and it will be like bcw but better in combos ex ci( to chnage all in (param1, param2) or with html you can do cit for change inner tag, if you want to remove the () too you can do ca( the commands is i for inner and a for around
Hi, Ben your video is commendable. It's even better than some of the more experienced people out there. One thing that I want to mention is that to delete a block of code enclosed within brackets d% can be used cause this will work even if there is no blank line separating that block of code
I would give this more than 1 thumbs up if I could ! Thanks Ben, really loved the refactoring segment to see you apply these commands instead of just showing what's what
Been using Vim for at least half a year now, but there are still tons of things that I didn't know existed, so I've been doing a lot of things unelegantly. Thanks for showing the better methods!
Great vimtutor!!! It would also be helpful if someone writes down list of all commands mentioned in this video. Just to revisit it to check if I forgot something important.
Vim is a excellent text editor. It is like a whole new world of typing and thinking in text editors. I have tried a few sorts of them, such as NeoVim, SpaceVim. Now I am stick to SpaceVim. In my opnion it is more mnemonic-centric.
Nice video friend, got here by the mercy of youtube ai. personally use macros and block mode in refactoring C header files. Those are a total mess when doing. And I really love how you also align the starting and ending points between macros, that’s such a key tip to use every time that I can’t emphasise enough on. Final word, keep it on! This is a gem for beginners, to even know the thought process of programmer while doing it.
This is a great video. Another great combination is "ciw" for "change in word". It saves having to navigate to the start of a word, which I suppose is a small thing, but vim is all about the power of small things, combined.
Thank you so much fo rmentioning the last part of vs code and chrome extension...I really hate to touch mouse from typing keyboard....this video was really helpfull.... May Peace be Upon You...
My preferite combo is instead that for renaming multiple occurances of same word. Search word or go to word ------> *cgn ----> Write new word -----> Esc ----> Spam period until you have done
This is a very helpful video! It only took a couple hours tops before I became considerably more efficient with VIM than Nano because this was so well explained! I highly recommend trying out these commands as you learn them since watching this type of stuff usually doesn't instantly translate to getting good at it without actually doing it. Now that I've tried these things for myself, I plan to watch it without doing anything since I've tried everything now and I might catch a few missed details in the explanations. Personally, I recommend enabling relative line numbers because it makes it so easy and quick to jump a specific number of lines in the visible window. I created a .vimrc file in the home folder and added "set relativenumber" to it. I typed the "reset" command in the terminal to apply the changes, which I like to do for rc configuration files in general. I also swapped mappings for j and k since that feels more natural for me and restores my sanity. I added "nmap j " and "nmap k " in the .vimrc file. Note this won't apply to other modes like visual. I think there are other commands for that instead of nmap. This could be considered practice for VIM using that to modify the configuration file!
0:30 I'm curious as to where the "it will pay off huge dividends over time" saying comes from. One thing I have noticed throughout people that are well-read on programming, is that we all start to cross reference the same books. Personally, I've heard you and Primeagen say things in this exact manner, "it will pay off huge dividends over the long term". I'm not saying that this had to come from somewhere, but if it did, I am curious to know as to where you read this. So that I can go read this as well. Thanks.
T stands for Till, because it goes until it meets the character you specified. F is the opposite of that, as it goes Forwards [to] and stopping on the character you specified.
Thankyou for such a wonderful video Found it really helpful I didn't know that vim editor could be so powerful it was something that I had never come across,keep posting such great videos 😀👍
Just realising that command mode is a thing blue my mind. That one revelation changed how I understand vim. Never gave it a chance before, but in the past 5 minutes I have figured out more than I ever had before.. Why is your editor not colorized? Or is that a noob question?
More some beast features is "diw" - remove word in case your cursor is stay in the middle of the word, and second feature is regexp replasing via ":%s/old_value/new_value/g"
Could you please share what keyboard that you use? It sounds really nice, must better than my Brown switch. Special the bottom out sound, it must be nice key caps.
Ctrl + Q for windows user. As there might be a conflict with using Ctrl +V as it pastes the last thing you copied instead of getting the visual block mode that you wanted.
For noobs , you should point out that the colon before q , as in " :q " , is to put vim into command mode , otherwise the q is just another piece of entered text , and if I'm not wrong :i should put vim back into text mode ?
2:10 Opening VIM
2:59 Exiting VIM
4:15 Save without quitting
4:25 Move with h,j,k,l
4:55 Going into insert mode
5:05 Going back to command mode
5:11 dd for delete line
5:40 Use arrow keys to move (not recommended)
6:00 G and gg for top and bottom lines
6:46 {,} to skip blocks of code
7:30 Using numbers to loop command
8:20 u for undo and redo
9:22 Cntrl+r for redo
10:05 yy for copying line
10:17 p for pasting line below
10:24 P for pasting line above
10:44 using dd to cut a line for pasting
11:24 use V for visual line mode to select lines
11:55 Do stuff with selected lines
12:15 o for inserting the new line below
12:45 O for inserting new line above
13:30 d+ to delete characters
14:55 w to jump forward words and b to jump backward
15:25 : to jump to specific line
16:01 0 for the beginning of the line and $ for the end of the line.
16:10 ^ for beginning word
16:40 W for jumping forward a word (ignore punctuation)
17:50 t+ and f+ to go to specific character in a line
18:22 % to go to specific block parenthesis
20:05 c+ for changing characters
21:01 D to delete from cursor to end of line
23:44 * to search for other instances
25:27 ; to go to the next instance of a character when using t,f
26:11 zz to center your page based on the cursor's position
27:10 a to insert from the right of the character, i to insert from left
27:36 A to insert from the end of the line, I to insert from the beginning of the line
27:52 x to delete a character which cursor is on
28:34 ~ to change the case of a letter
29:32 . to repeat the last executed command
33:01 r to replace a letter, R to go to replace mode
34:34 Commend combo to move a chunk of code from bottom to top
36:11 Commend combo to wrap a chunk of code
36:48 >> to indent line,
This is a great tutorial but since it is quite long I thought I'd note timestamps. If I missed something or I can word any of these better, let me know in the comments
Underrated comment
@@fokkedeboer2342 thanks. I made it recently.
This is really helpful bro, Thank you so much
I just manually searching the timestamp of the video if I forgot the vim command :( It's been 2 years up until and I found this comment is super useful. Finally! Thank you so much :)
As a regular Vim user, the key thing about Vim is that it doesn't have what you consider "keybinds", it has a dialect where you tell Vim what you want to do. All the keys involved are words to build a sentence telling Vim what you want to do. Don't memorize the complex commands, memorize the keywords in the dialect and you should have an easier time in Vim.
d3w : Delete 3 word(s)
y3w : Yank/Copy 3 word(s)
3p : Put/Paste 3 (times)
dt" : Delete To "
3j : 3 lines down
di": Delete inside "..."
dG: Delete to the bottom of the file
Final suggestion, don't copy someone's config, build your own and add things when needed to get a better understanding, in addition to being more prepared for using it in server environments where nothing is configured.
This is the best comment I've read about Vim. When you have this perspective, you won't fight with Vim anymore and it will start feeling natural.
That's a nice perspective.
Yeah, that fits my mindset so nicely, I think I may really love Vim
Thank you for the perspective
Well said
This is what learning how to tie shoelaces as an adult must feel like
Learning is just learning. Its nothing more than that. If you are ashamed of learning I would like to say go change your mentality.
@@rivubardhan6376 A Joke is just a joke. Its nothing more than that. If you are offended at a joke I would like to say go change your mentality.
ua-cam.com/video/qMrhd61l4Fw/v-deo.html
When I first discovered vim i thought something was terribly wrong with the program.
@@ayeansh xxx
The mission-critical feature of this video is the display of the keystrokes in a large font. Well done.
You don't dig holes with bulldozers.
Hahaha, yea but you know he means excavator
Never caught that. Lol though
@Farouk Mokhtari completely lost it when he said this
he meant filling up a hole with a shovel or a bulldozer :p
I came to the comments just to see if someone caught this.
i tried vim before, and i looked into some vim commands, but watching them in action and with some use-cases is just way better for learning, of course i will not learn everything by the end of this video, but just knowing that those commands exists is so helpful
thanks man!
if you want to format code select the code with shift+v and hit = to make the code perfect.
@Nathan Withers yes that nice to .. i map it to ,= in my vimrc
I love this one
@@zeocamo nnoremap = gg=G is a better map as it returns you to your previous location
@@reveluv8851 ok, i got a almost like that too(i pickup a few things in the 18 years i use vim), but i was talking about a block of code here
@@zeocamo I thought you were talking about the entire file
Best vim presentation I have seen: Font size and keycast just about right, and the warm sexy voice, nice and slow.
bruh this is a programming vid not an erotica
gay
(I recommend everyone to try relative line numbering. It will give you absolute superpowers. For example, instead of going up and down the screen with j and k repeatedly, you just look where you want to go, enter the amount of steps needed (which is visible directly on the screen without needing to do any math), then just press j or k one time. It is magic!)
That explains why Ben did it in his nvim config file
I use hybrid numbering - current line shows its absolute line number, the other lines show the relative line numbers. Helps a lot.
Ben, i actually started using vscode's vim plugin at work cuz of you. Thank you from Brazil !
same here
VSCode has Vim?
@@dibbyo456 as a Plugin yes
Quanto tempo demorou pra aprender?
@@victornecromancer cara, o básico de movimentos é bem rápido, mas precisa se acostumar com os seletores e o search, a primeira semana foi meio improdutivo, depois disso foi bem normal.
5:11 What you refer to "command mode" is callen normal mode. Command mode is initiated by pressing ':'.
that sounds right, somewhere along the way I got this mixed up in my head, thanks
@@bawad you're a great humble guy
It makes it much easier with the proper names. Like also when you said “w” means save, then you can quit. “w” is for write, much easier to remember.
And “f” and “!” takes you ‘on it’. First time watching this would feel like these characters are random. But you should instead say “f” will find in the line forward from your cursor, and as with most capital letter commands, capital “F” does the same thing but backwards from your cursor.
@@stardreamse Similarly, the ‘t’ motion stops right before the character because it means unTil
"command mode" is "normal mode". You enter "command LINE mode" by pressing ":". Very common confusion.
I started using Vim because of you
I'm only in the first 13 minutes and have already learned a lot. You're a natural teacher because you show what you do while doing it.
The missing practical Vim tutorial!
Fantastic video Ben!
I really wanted to watch this video, but I couldn't exit vim.
Press ESC -> Then enter :q
🤣🤣🤣
@henry stevens that is if you don't want to save your progress
👏
@@ashishproc9636 ZZ
Your video either pulls in a new user for vim. Or seals the deal for a beginner user. I've been using it for a few months now. At least I thought I was"using" vim. Shiiiiiit I need to start makin notes. gg!!!!
20 minutes in and I already feel the power! Haha, thanks Ben. I can't wait to finish the video so I can get tons more practice.
One cool thing I have learned recently that Crtl+C does the same thing as ESC, which saved me a lot of time when changing mode. Another thing is that you can jump to any line by typing 'gg'. That certainly makes navigation easier.
I'm surprised that gg behaves the same as G in this case.
Oh my God I've been barely touching what's possible. I might dedicate a 3 hour block of my day tomorrow to practice. I've been using vim for over a year now. I can't wait to use some of the things I'm learning in this video. I'm going to be so much faster. I didn't know about 't'. I've been only getting better as I Google things. Thank you!
Saw this video about 15 months ago. I started using vim, then Linux, and then got down a huge spiral of knowledge. I found my love of computers and programming again. Thanks for sending me down this rabbit-hole :)
Yeah, not sure what it is, but I think you're pacing for explaining stuff is perfect. You have a good flow without needless utterances. Not only that, but you kinda just get to the core + essential details without any of the needless BS.
Thanks man :)
24:21
"hah I was clicking with my mouse like a noob" xD
well, you actually can:
set mouse=ar
It's an hour long, and still incredibly dense with information. By far the best complete Vim tutorial I've found.
Perfectly paced and explained. This is way better than the Vim classes over at Udemy, which I find very over explained and slow. And this one is free!
Great to observe your behavior, thanks. Things I've picked up here:
- Esc binding;
- Usage of `b`, `f`, `W`, `^`, `q macros`, '%' ;
- `C` changes to the end of a line.
- Block visual mode `Ctrl-v` seems compelling;
- cVim plugin
* Just recapping for myself :D
And would like to mention:
`S` - remove content from a line and switch to insert mode.
thanks, I'll give S a try
@@bawad I just figured out that it works the same as `cc` :D
But here is the thing which I found useful:
`ciw` - change the whole word no matter where the cursor is;
And one of many alternatives for `F2` and `CTRL D`:
`/term-to-replace` => `cgn` => `new-term` => `.`
I have learned a lot in one hour, that was awesome.
my aim is to have enough skills to just remove my mouse driver and to use only my keyboard
Have you tried a tiling desktop environment?
unnecessary skills. browsing the web requires mouse. use a trackball or a laptop with trackpoint and you'll enjoy using mouse
Not using a mouse in environments that were designed to be used with a mouse is like not using toilet paper.
@@typedef_ lol exactly.
@@jamirvillarosa7924 Have you tried Vimium? You can't get away from a mouse everywhere, but for the most part you can.
Best Vim tutorial i saw on internet, and it's free. It shows many commands and some daily usage. Nice!
Thank you for this!!!! I got stuck inside of Vim a few times and I never wanted to go
back in there ever again ;-) I didn't realize until seeing these videos you made,
just how fantastic it is - looking forward to learning it and using the vim extension for vscode to become more efficient.
Now I'm not afraid to enter Vim.......for fear of getting stuck in an infinite loop...
Ben I am just letting you know my professor sent me here as a good tutorial for Vim. Congratulations you have made it!
"Alright I am going to be teaching you everything I know about Vim." What a good, promising way to start a video. Truly a lost art.
20:50 G
21:02 D delete to the end of the line
21:20 C delete to the end of the line and put to insert mode
21:40 ct}
23:43 * find
26:11 z focus the screen where your cursor at the center
29:33 . re does the last thing you do
36:08 O
if you are in a word you can do ciw and it will be like bcw but better in combos ex ci( to chnage all in (param1, param2) or with html you can do cit for change inner tag, if you want to remove the () too you can do ca( the commands is i for inner and a for around
Hi, Ben your video is commendable. It's even better than some of the more experienced people out there. One thing that I want to mention is that to delete a block of code enclosed within brackets d% can be used cause this will work even if there is no blank line separating that block of code
I would give this more than 1 thumbs up if I could ! Thanks Ben, really loved the refactoring segment to see you apply these commands instead of just showing what's what
Love how you give your own tips and how you use it too!
I have my Esc and CapsLock completely swapped via my os and I love it!
ooo that's kinda smart. How did you do that? Do you use Windows? Something else? Or do you have a System76 computer haha
Wow, that's game changing
I use Linux and there is some post on stack overflow on it.
When I can use ~ who needs the CAPS LOCK key anymore?
When my teachers forced me to use it in university for OS class, I used to get mad. Should have paid more attention that time....
Same here. They never tell you the importance and/or get you interested. It's all just a chore in college.
I don't know why your explanation just makes sense to me. Thanks a lot.
At 47:00 you could use daB to delete between the brackets including brackets. use i instead of a to exclude brackets
i cried at the macro. definitely going to learn and only use this
Been using Vim for at least half a year now, but there are still tons of things that I didn't know existed, so I've been doing a lot of things unelegantly. Thanks for showing the better methods!
You don't dig holes with a bulldozer, you dig holes with a backhoe!
hey ben thank you very much, this video helps a lot, especially for new learners like me.
Great vimtutor!!!
It would also be helpful if someone writes down list of all commands mentioned in this video. Just to revisit it to check if I forgot something important.
1:05 i think the shovel is faster at digging holes than a vehicle thats supposed to push things
Vim is a excellent text editor.
It is like a whole new world of typing and thinking in text editors. I have tried a few sorts of them, such as NeoVim, SpaceVim. Now I am stick to SpaceVim. In my opnion it is more mnemonic-centric.
Nice video friend, got here by the mercy of youtube ai. personally use macros and block mode in refactoring C header files. Those are a total mess when doing. And I really love how you also align the starting and ending points between macros, that’s such a key tip to use every time that I can’t emphasise enough on.
Final word, keep it on! This is a gem for beginners, to even know the thought process of programmer while doing it.
Been two years. Awesome stuff. I wish I have heard of this sooner. Thanks, man
will come back after i've learnt all the javascript frameworks :)
I found this video on my phone and I have finally escaped my TTY3 after seven years there in limbo. Thanks.
ctrl+v block select is good for (un)comment code
you know what man, i love this video, your content is so friendly with newbie like me. Thanks a lot.
Thank you so much, that's super useful and I can't believe I lived until now without this.
@47:00 you could also cut the code snippet with "x" and paste it there.
Ct} can also be Ci{ (change inside curly brace)
This is a great video. Another great combination is "ciw" for "change in word". It saves having to navigate to the start of a word, which I suppose is a small thing, but vim is all about the power of small things, combined.
Thank you so much fo rmentioning the last part of vs code and chrome extension...I really hate to touch mouse from typing keyboard....this video was really helpfull.... May Peace be Upon You...
Thanks, Ben. The recording and macros are really useful !!! 👌
Very nice tutorial on vim! I myself use emacs with evil-mode and that's a very nice vim emulator in the emacs eco system.
Ben, if you see this it would be beneficial imo if you used the chapter youtube feature to map the video timeline with the outline you set up here.
primary reason is I've come back to this video a few times
That was awesome, really appreciated this video. Learned a ton. Thanks, Ben!
Another shortcuts:
ZZ - save and quit
ZQ - discard changes and quit
These have to be capital letters and you have to be in normal mode
My preferite combo is instead that for renaming multiple occurances of same word.
Search word or go to word ------> *cgn ----> Write new word -----> Esc ----> Spam period until you have done
Appreciate your effort man ! From CS undergraduate in China
This is a very helpful video! It only took a couple hours tops before I became considerably more efficient with VIM than Nano because this was so well explained! I highly recommend trying out these commands as you learn them since watching this type of stuff usually doesn't instantly translate to getting good at it without actually doing it. Now that I've tried these things for myself, I plan to watch it without doing anything since I've tried everything now and I might catch a few missed details in the explanations.
Personally, I recommend enabling relative line numbers because it makes it so easy and quick to jump a specific number of lines in the visible window. I created a .vimrc file in the home folder and added "set relativenumber" to it. I typed the "reset" command in the terminal to apply the changes, which I like to do for rc configuration files in general. I also swapped mappings for j and k since that feels more natural for me and restores my sanity. I added "nmap j " and "nmap k " in the .vimrc file. Note this won't apply to other modes like visual. I think there are other commands for that instead of nmap. This could be considered practice for VIM using that to modify the configuration file!
super awesome stuff. I think ,I am going to use VIM this time. keep it up. much love from Sri Lanka
stopped at 30 min and that's enough for me now. Thanks.
This is a great tutorial man. Thanks a ton. Was really helpful to me.
Thank you so much sir.my vim journey started with you
0:30 I'm curious as to where the "it will pay off huge dividends over time" saying comes from. One thing I have noticed throughout people that are well-read on programming, is that we all start to cross reference the same books. Personally, I've heard you and Primeagen say things in this exact manner, "it will pay off huge dividends over the long term". I'm not saying that this had to come from somewhere, but if it did, I am curious to know as to where you read this. So that I can go read this as well.
Thanks.
T stands for Till, because it goes until it meets the character you specified. F is the opposite of that, as it goes Forwards [to] and stopping on the character you specified.
Awesome man, was an amazing tutorial. Very thankful to u
For me, the biggest game changer was realizing you don't need to use ESC to get back to command mode. You can use CTRL+C or, my preference, CTRL+[
The escape key randomly stops working on my kb, didnt know about this, very helpful. Thank you!!
Just for your knoledge: _you can move around also with arrow keys instead of hjkl_
@Average Linux User why?
Thankyou for such a wonderful video
Found it really helpful I didn't know that vim editor could be so powerful it was something that I had never come across,keep posting such great videos 😀👍
Here’s straight answer for 95% of people who opened that video - :q!
at 53:57, why doesn't the regular insert mode (small i) work ? why must I use (capital i) ?
1° time using vim: THIS IS DIFICULT
17392° time using vim: Just making my homework using vim
How long have you been using Vim to reach your level of confidence?
I think Vim if not one of the most powerful text editor that many people underestimate.
^ and $ is from Regex so it easy to remember evenyone know regex :)
I was wondering where this came from. I guess the creators did good by keeping this in mind!!!
@@abhinandanj8182 in the *nix world, people try to use stuff from each other, node file/dir commands is name from *nix programs for the same reason
Vim actually has it's own flavor of regex and you can use it to search words. So meaning regex is a good thing in vim.
@@reveluv8851 yes i know
Perfect tutorial, thank you! Now I won’t have to feel like a useless loser anymore by using nano.
Nano is a respectable text editor, don't put yourself down for it
@@GY-bd9bo but vim is much better after all.
@@tigrankhachaturian8983 it is indeed
This was an easy Like and Subscribe and Thank you so much Ben for putting your time and effort into this. Really appreciate it !!
Just realising that command mode is a thing blue my mind. That one revelation changed how I understand vim.
Never gave it a chance before, but in the past 5 minutes I have figured out more than I ever had before..
Why is your editor not colorized? Or is that a noob question?
He most likely has syntax highlighting disabled.
Finish! Thank you so much, Ben. I just want to see if I can become so good at Vim like I was playing Max Payne. Thanks again! :)
Thanks a lot for this great tutorial. I'm just starting out with Vim and I'm a lot less scared now :D
54:00 crtl+v then Shift+i then # to comment in python for example
you could use ^ for going to beginning of a line. And c i ) instead of c t ),
Now I know why others code much faster than me! Thanks!
STOP
DO NOT EXERCISE
IT IS BAD FOR YOUR HEALTH
This ad gets me everytime
More some beast features is "diw" - remove word in case your cursor is stay in the middle of the word, and second feature is regexp replasing via ":%s/old_value/new_value/g"
Could you please share what keyboard that you use? It sounds really nice, must better than my Brown switch. Special the bottom out sound, it must be nice key caps.
Ctrl + Q for windows user. As there might be a conflict with using Ctrl +V as it pastes the last thing you copied instead of getting the visual block mode that you wanted.
Thanks man, it really is helping me to code faster .
> "Vim Tutorial"
> Checks length
> 1:04:44
Can I still use this tutorial to learn neovim or is there too much difference
For noobs , you should point out that the colon before q , as in " :q " , is to put vim into command mode , otherwise the q is just another piece of entered text , and if I'm not wrong :i should put vim back into text mode ?
gg brings starcraft memories. LOL. Great video btw, didn't know vim and I'm already using it, thanks friend.
zerg ftw
At 17:37 Ben's computer being muted crying in pain.