The Ultimate Beginner’s Guide To Learn And Master Vim

  Рет қаралды 42,346

Josean Martinez

Josean Martinez

Күн бұрын

In this video, I share everything you need to know to learn and master Vim as a beginner. Vim has changed the way I work as a developer over the past couple of years and my hope for this video is to help you really understand the ideas and concepts behind everything so that you can learn how to take advantage of this powerful editor too! Whether that be in a full fledged Neovim or Vim setup or as a plugin in an editor like VSCode. Hope you guys enjoy it!
✍🏽 Vim Cheat Sheet: www.josean.com/posts/vim-esse...
💻 Code Used In Video: github.com/microsoft/TypeScri...
🚀 My Dot Files: github.com/josean-dev/dev-env...
Help Support Me And The Channel: www.buymeacoffee.com/joseanma... 🙏🏽
Neovim Setup Video: • How I Setup Neovim On ...
⏰ Timestamps
00:00 - Introduction
01:11 - Entering/Exiting/Saving
05:11 - Vim Arrow Keys (hjkl)
06:27 - Line Movements
07:11 - Moving To Chars In Line
08:58 - Word Movements
12:19 - Paragraph Movements
13:12 - Moving To Specific Lines
15:01 - Movements for '[', '(', '{'
17:05 - Moving Through Screens
17:34 - Moving/Scrolling Leaving Cursor In Place
18:04 - Search Movements
18:58 - Moving Through Jumplist
20:27 - Deleting Text (d)
22:32 - Changing Text (c)
23:09 - Repeating Changes with .
23:56 - Replacing & Deleting Chars (r and x)
24:38 - Copying/Yanking & Pasting Text (y and p)
25:52 - Changing Character Case (quick note ab Visual Mode)
27:36 - Text Objects (using i and a)
30:38 - Search & Replace
32:07 - Other Ways To Enter Insert Mode
33:02 - Conclusion
📧 Email for business inquiries: youtube@josean.com
--------------------------------------------------------------------------------
🖥️ My Desk Setup:
💻 Computer & Monitor
Apple 27” Studio Display for Coding & Video Editing: amzn.to/47YzRZt
2021 M1 Pro Macbook Pro (mine): amzn.to/47XNhoC
2023 M2 Pro Macbook Pro (newest): amzn.to/3qYHG0J
🖱️ Mouse
Apple Trackpad: amzn.to/45P0i1S
Logitech MX Master 3s Mouse: amzn.to/3Z3bXIq
⌨️ Keyboard
Cherry Corne Version 3 Kit: bit.ly/3UJgrjH
Analyst Keyboard Case: bit.ly/3uyjIHQ
Nice!Nano Microcontrollers: bit.ly/3FblL9L
Gateron Ink Black V2 Switches: amzn.to/3YZ3cz9
Batteries for Nice!Nanos: bit.ly/3uBmtrS
Travel Case (Fits Analyst Corne Case): bit.ly/3Hmr7BR
Gateron Ink Black V2 Switches: bit.ly/3VJToX4
My Keycaps: bit.ly/3uHBbgV
Blank PBT Keycaps: bit.ly/3UJhgJ6 or amzn.to/3UNQtLQ
Planck PBT Keycap Set: amzn.to/3HopRhC
You can also find some pre-built options and DIY kits on Etsy: www.etsy.com/search?q=corne
🎧 Headphones
Sony WH-1000XM4 Headphones: amzn.to/3sEJU65
----------------------------------
🎬 My Video Gear:
📹 Camera
My Fuji xt3 Camera (only available used): amzn.to/3P4P1E7
Recommended Cameras:
Fuji xt5 (newest): amzn.to/3P0jMtK
Fuji xt4 (used): amzn.to/3EmeUdt
Fuji 23mm f2 Lens (great for video in smaller spaces): amzn.to/3L2L6pV
Camera Field Monitor: amzn.to/3L2nrpW
🎙️ Audio
Rode VideoMic Pro+: amzn.to/45PecRC
Overhead Camera/Mic Arm: amzn.to/45y8Ryl
💡 Lighting
Aputure Amaran 100d Keylight: amzn.to/47T4Y97
Aputure Light Dome Mini II Softbox: amzn.to/3EstpMM
Aputure Amaran Small RGB Light: amzn.to/3Pl6RnG
IVISII Bright RGB Light: amzn.to/3EmfsA3
---------------------------------------------------------------------------------------------
Links used in the description may be affiliate links. By clicking and/or purchasing from these affiliate links I receive a small commission (at no cost to you). This really helps me out in funding my videos and growing my channel, thank you for the support!

Пікірлер: 88
@joseanmartinez
@joseanmartinez 10 ай бұрын
Hey guys, after uploading this video, I have sadly found out that Bram Moolenaar, the creator of Vim, has recently passed away. I am forever grateful for what he has built and the impact it’s had on my life as a developer 🙏🏽 Rest in peace, Bram.
@danielstoddart
@danielstoddart 10 ай бұрын
I just heard the news. As someone who has used Vim my entire career, I was shocked because I wasn't even aware he was ill. We all owe Bram Moolenaar a debt of gratitude for Vim and everything he did to support both Uganda and the Vim community.
@treequin
@treequin 10 ай бұрын
I just started learning Vim a couple of days ago and this is by far the best video on it I've found. Last week I also watched your tmux video and it was immensely helpful too. The way you explain things and the way you structure your videos really make things clear to me. Thank you very much. ¡Muchísimas gracias!
@danielvasquez3284
@danielvasquez3284 4 ай бұрын
Many many thanks! there are plenty of tutorials out there, but the way and the speed you explain is awesome. I found other tutorials hard to follow because they are just going too fast in typing. You really take the time to explain in a good manner. Many thanks again!
@zhvn89
@zhvn89 10 ай бұрын
This is an excellent video. There is a lot of resources with Vim reference. But that video helps to summarize everything. Thank you!
@hsthast7183
@hsthast7183 10 ай бұрын
Exactly what I needed at this point of time 🙏🏼
@joseanmartinez
@joseanmartinez 10 ай бұрын
Awesome! Hope you find it helpful!
@juliosica2098
@juliosica2098 10 ай бұрын
Hey Josean, I recently found your youtube channel not long ago. I'm about to start my journey at OSU and I noticed that you also went to The Ohio State University. I appreciate the quality help and advice you have produce with your youtube channel and it motivates me to do my best in college.
@joseanmartinez
@joseanmartinez 10 ай бұрын
Really happy to hear that! I’m glad you’ve found my videos helpful! Good luck getting started at OSU, I learned a lot through my experience there, go bucks!
@aletarg
@aletarg 9 ай бұрын
Excellent videos, very informative and well made. Congrats!
@FrankPloegman
@FrankPloegman 10 ай бұрын
Awesome guide! Thank you very much.
@antonyanchev7112
@antonyanchev7112 10 ай бұрын
7:46 I think a better way to think about "t" is "till" because it moves till the character you want.
@joseanmartinez
@joseanmartinez 10 ай бұрын
I hadn’t thought of that! That’s a really good way to think about it, thanks!
@akritworanithiphong
@akritworanithiphong 10 ай бұрын
Great educational video yet again 👏
@N1mro8
@N1mro8 2 ай бұрын
Really love this, thanks for helping out!
@benjaminbank384
@benjaminbank384 10 ай бұрын
One of the best videos on the internet Josean, thank you so much for creating and charing it. Really appreciate.
@joseanmartinez
@joseanmartinez 10 ай бұрын
Really appreciate that! Happy to hear you found it helpful!
@eldercirillo554
@eldercirillo554 10 ай бұрын
Thank you for sharing your knowledge.
@zenbrandon
@zenbrandon 10 ай бұрын
It's thanks to you that I switched to Lunarvim as my main editor and installed Vim plugins on all my other editors. Thank you so much for all the hard work you put into your videos!
@joseanmartinez
@joseanmartinez 10 ай бұрын
That’s really awesome to hear! I really appreciate it and I’m glad the videos have been helpful!
@gregpetrov6919
@gregpetrov6919 9 ай бұрын
Super cool! Many thanks!
@andrefgallo
@andrefgallo 9 ай бұрын
Excellent video, thank you!
@ayushkumar2436
@ayushkumar2436 3 ай бұрын
Best video i have ever seen on vim motions. kudos
@JonnyJonvilleJonathan
@JonnyJonvilleJonathan 10 ай бұрын
Happy to see you're back! Just started watching your channel this past week and was sad to see your last upload was 5 months ago, thought I had found a dead channel lol
@joseanmartinez
@joseanmartinez 10 ай бұрын
Sorry I was gone for a while, have been pretty busy with work, but hoping to get back to uploading more often!
@maguilecutty
@maguilecutty 7 ай бұрын
Thank u to infinity and beyond! Not just another annoying tutorial about ricing ur neocon but FINALLY one on how to use it!
@mmlvx
@mmlvx 3 ай бұрын
I'm impressed that at 11:59 you included the 'ge' motion. I've been using vim a while, and only recently found out about 'ge' and 'gE', which are often very helpful. Another thing I've recently learned is 'gi' which jumps to the location where you most recently were in Insert mode, and puts you into Insert mode.
@nasang7478
@nasang7478 10 ай бұрын
Wow last week i was thinking that maybe i should learn vim this weekend and suddenly you just dropped this ❤️
@joseanmartinez
@joseanmartinez 10 ай бұрын
Awesome! I hope it helps you to get started!!
@stoicfloor
@stoicfloor 10 ай бұрын
This is no better than for this video as a tribute to Bram. Bram you'll forever be missed.
@asgeirtj
@asgeirtj 7 ай бұрын
Such a great tutorial!
@gantushigsaruul2489
@gantushigsaruul2489 Ай бұрын
Bro your thumbnail image is just perfect 👌you have this nice and unique aesthetics.
@codingwithrendi
@codingwithrendi Ай бұрын
wow thanks, this is so easy to understand, i do love neovim because this man :)
@ElhusseinMourad
@ElhusseinMourad 7 күн бұрын
Way to Go Josean 💪
@zozephdev
@zozephdev 10 ай бұрын
Thank you for this
@inteliconn995
@inteliconn995 9 ай бұрын
Thanks!
@jsjunior
@jsjunior 10 ай бұрын
hey, Wellcome back,
@TobiasFrei
@TobiasFrei 10 ай бұрын
Great video. I've been using Neovim for years and didn't know them all (esp. text objects). So 🙏🤓
@joseanmartinez
@joseanmartinez 10 ай бұрын
Awesome! Glad you found it helpful!
@mkum2141
@mkum2141 10 ай бұрын
Your neovim setup guide helped me move from vscode to neovim. I have been using neovim since and have made my own additions and changes to the config you provided. Thank you!
@joseanmartinez
@joseanmartinez 10 ай бұрын
That’s really awesome! Glad I could help!
@dixztube
@dixztube 10 ай бұрын
Would you go back ? I get learning vim for text editing. I use it daily and know the basics but as a full code editor I just couldn’t justify the use vs code.
@mkum2141
@mkum2141 10 ай бұрын
​@@dixztube I dont feel the need to go back. Neovim and my plugins do everything that I could ever want from vs code and more! What does vs code have for you that neovim cannot replicate?
@annakarolinafranz5946
@annakarolinafranz5946 10 ай бұрын
very good 👏👏👏👏
@leroykylian4285
@leroykylian4285 10 ай бұрын
te amo amigo aprendo mucho contigo rey
@joseanmartinez
@joseanmartinez 10 ай бұрын
Me alegro poder ser de ayuda!
@satysin630
@satysin630 10 ай бұрын
Pretty crazy timing this coming out the same day we lose Bram 😢
@ariunboldoyungerel6649
@ariunboldoyungerel6649 10 ай бұрын
Good god you are back! Where you have beeen
@joseanmartinez
@joseanmartinez 10 ай бұрын
Hey! Just been pretty busy with work, hoping to get back to uploading more often!
@pope-pylinux-vi
@pope-pylinux-vi 9 ай бұрын
Thanks for the great video! You may want to remap :nohl to something less verbose (I use Ctrl+n in my VSCode Vim extension)
@iamnoone3588
@iamnoone3588 10 ай бұрын
hey man thanks for the vim from scratch guide you did before, it got me into nvim and am now enjoying learning programming again. just a tip for the new guys, just go with it. Force yourself to use it as your main and only editor then you'll be up in no time.
@therollingambit5222
@therollingambit5222 7 ай бұрын
Awesome high quality content! Just wondering if you ever tried lazygit and if so give a tutorial on it? :)
@annakarolinafranz5946
@annakarolinafranz5946 2 ай бұрын
What is the shortcut to switch between the folder side tab and the code tab?
@iayushhb
@iayushhb 10 ай бұрын
finally , thanks for NOT quitting..
@joseanmartinez
@joseanmartinez 10 ай бұрын
hahaha yes I haven’t quit! I’ve just been really busy these last couple of months. Hoping to get back to uploading more.
@iAbhilashJena
@iAbhilashJena 10 ай бұрын
How do you get the filename as a tab (with an X)? I did follow your other video on how to setup Neovim on Mac but, when I open a file with nvim, I don't see the tab.
@joseanmartinez
@joseanmartinez 10 ай бұрын
Hey! I just added that to my config, it wasn’t in the video, you can use the bufferline plugin and in the setup options set the “mode” option to “tabs”.
@vladimirpoma4452
@vladimirpoma4452 10 ай бұрын
awesome video, I've a question teacher, what if I want to replace a word inside a function or event inside a for loop, with %s/word/replaceWord/g will do in the whole file, but is there a way to indicate to replace just in specific range?
@Subbeh2
@Subbeh2 10 ай бұрын
You can use visual mode to select the lines and then run :s (without %) to change within the selection
@vladimirpoma4452
@vladimirpoma4452 10 ай бұрын
@@Subbeh2 thanks mate!!! really appreciate it.
@akshitgupta4749
@akshitgupta4749 10 ай бұрын
hey you are back
@joseanmartinez
@joseanmartinez 10 ай бұрын
Yes! Been really busy the past few months, hoping to get back to uploading more often.
@akshitgupta4749
@akshitgupta4749 10 ай бұрын
@@joseanmartinez awesome bro👍
@reedamranjan6367
@reedamranjan6367 10 ай бұрын
Hey @Josean, g+f shortcut not working in your neovim setup can you check if something has change after any update
@joseanmartinez
@joseanmartinez 10 ай бұрын
I’ll have to look into that, I’ve transitioned away from lspsaga to a simpler setup, hoping to make some future updated videos on some changes I’ve made. Thanks for letting me know!
@reedamranjan6367
@reedamranjan6367 10 ай бұрын
@@joseanmartinez It will be great if can share that transition as it can help a lot of people like me who are following your videos and working with vim , thanks for the fast reply btw
@vohuynhvinh
@vohuynhvinh 9 ай бұрын
hi, Which the app name to record desktop?
@phuc-party
@phuc-party 10 ай бұрын
hey, did anyone here actual setup configuration for graphql successfully? I can't make graphql Lsp work?
@driden1987
@driden1987 10 ай бұрын
Loved the colorscheme, what is it ?
@joseanmartinez
@joseanmartinez 10 ай бұрын
Hey! It’s called nightfly. You can find it here: github.com/bluz71/vim-nightfly-colors
@driden1987
@driden1987 10 ай бұрын
Thanks @@joseanmartinez !
@minutaggio
@minutaggio 10 ай бұрын
Waaaaait a moment, did we meet in a YCombinator company interview in the past?
@joseanmartinez
@joseanmartinez 10 ай бұрын
Hey! I’ve never been to YCombinator so you might be confusing me for somebody else, nice to meet you though!
@PavelMalinov
@PavelMalinov 10 ай бұрын
Rip Bram
@smjonas8616
@smjonas8616 10 ай бұрын
Rip
@s-xj6ju
@s-xj6ju 8 ай бұрын
please make an updated video champ from scratch
@squalazzo
@squalazzo 10 ай бұрын
Mr Vim himself passed away these days, with his last ESC :wq
@vinodbabu2965
@vinodbabu2965 10 ай бұрын
make a video on how to use neovim as beginner
@joseanmartinez
@joseanmartinez 10 ай бұрын
Hey! Thanks for the feedback! Are you referring primarily to configuring/setting up Neovim?
@vinodbabu2965
@vinodbabu2965 10 ай бұрын
yes sir @@joseanmartinez
@SS-wl7od
@SS-wl7od 8 ай бұрын
great video but the amount of time i will spend on perfecting is not worth it, instead i will go with the tools which can get my job done.
@nanashi7726
@nanashi7726 10 ай бұрын
It is not vim, it is neovim. Actually, they should be distinguished. It may seem like an accusation, but the two are becoming quite different in terms of internal APIs, etc.
@joseanmartinez
@joseanmartinez 10 ай бұрын
Neovim and Vim are definitely different, but when it comes to this specific video, all of the concepts apply to both of the editors and almost all of the concepts will apply to using Vim as a plugin as well.
@seshadribasava2801
@seshadribasava2801 10 ай бұрын
Still waiting for that lazy setup you promised me ;) @josean
@joseanmartinez
@joseanmartinez 10 ай бұрын
hahaha I have to check lazy out, haven’t switched from packer yet, will be looking into it somewhere down the line
Mastering the Vim Language
36:20
thoughtbot
Рет қаралды 605 М.
How I Setup Neovim To Make It AMAZING in 2024: The Ultimate Guide
1:26:35
Josean Martinez
Рет қаралды 147 М.
Каха ограбил банк
01:00
К-Media
Рет қаралды 9 МЛН
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 267 М.
7 Amazing CLI Tools You Need To Try
18:10
Josean Martinez
Рет қаралды 235 М.
How I Use Tmux With Neovim For An Awesome Dev Workflow On My Mac
21:41
Josean Martinez
Рет қаралды 333 М.
NeoVim - лучший редактор кода
12:32
Чёрный Треугольник
Рет қаралды 181 М.
Vim Tutorial
1:04:45
Ben Awad
Рет қаралды 561 М.
How To Make Your Boring macOS Terminal Amazing With Alacritty
16:33
Josean Martinez
Рет қаралды 114 М.
Vim As You Editor - Advanced Motions P1
9:44
ThePrimeagen
Рет қаралды 231 М.
Tmux From Scratch To BEAST MODE
12:44
DevOps Toolbox
Рет қаралды 95 М.
Vim As Your Editor - Introduction
12:24
ThePrimeagen
Рет қаралды 805 М.
How To Use lazy.nvim For A Simple And Amazing Neovim Config
25:44
Josean Martinez
Рет қаралды 153 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 48 МЛН
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 2,4 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 26 МЛН
i like you subscriber ♥️♥️ #trending #iphone #apple #iphonefold
0:14