Vim Tutorial for Beginners

  Рет қаралды 787,070

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Vim is a highly configurable text editor that you can use for software development or any kind of text editing. In this course you will learn how to use and exit Vim.
✏️ Florian Dedov from NeuralNine developed this course. Check out his channel: / @neuralnine
🎉 Thanks to our Champion and Sponsor supporters:
👾 Raymond Odero
👾 Agustín Kussrow
👾 aldo ferretti
👾 Otis Morgan
👾 DeezMaster
--
Learn to code for free and get a developer job: www.freecodeca...
Read hundreds of articles on programming: freecodecamp.o...
❤️ Support for this channel comes from our friends at Scrimba - the coding platform that's reinvented interactive learning: scrimba.com/fr...

Пікірлер: 515
@HarlandGartley
@HarlandGartley 11 ай бұрын
Very nice. Clean, precise, no waffle, and no irritating music or distracting animations. Why can't all youtube tuts be as good as this?
@quincylarsonmusic
@quincylarsonmusic 2 жыл бұрын
Man. Florian teaches Vim so seemingly effortlessly. It’s clear he has a lot of passion for Vim and has put many, many hours into practicing and customizing his setup.
@NeuralNine
@NeuralNine 2 жыл бұрын
Thank you for your kind words Quincy :)
@abishekraju4521
@abishekraju4521 2 жыл бұрын
Hol' Up... There's flair on KZbin ??! Since when ?!!
@astratow
@astratow 2 жыл бұрын
0:00:00 intro 0:01:19 why use vim? What can you do with it? 0:07:19 installation 0:09:00 basics 0:09:44 how to exit vim? 0:11:28 insert and normal modes 0:17:28 line numbers 0:20:00 relative line numbers 0:21:08 various options 0:22:11 .vimrc 0:24:30 key bindings 0:27:35 visual mode 0:28:25 deleting 0:28:34 yanking/copying/pasting 0:31:10 changing/replacing 0:33:35 navigating vim way
@Extorc
@Extorc Жыл бұрын
00:35:51 deletion of words
@kevinren3753
@kevinren3753 Жыл бұрын
0:47:00 intermediate stuff 0:59:00 registers and macros
@hayouhayou2239
@hayouhayou2239 Жыл бұрын
1:04:53 Neovim and plugins 1:11:28 Vim support 1:14:06 Outro
@CorvusCoraxTheCorvid
@CorvusCoraxTheCorvid 10 ай бұрын
you madlad!
@astratow
@astratow 10 ай бұрын
@@Extorc thank you
@josiasbudaydeveloper5864
@josiasbudaydeveloper5864 2 жыл бұрын
This video is a public utility to our lives! I've watched just until 29 minutes, just for learning the basics. Thanks for this video!
@nuwanhettiarachchi3023
@nuwanhettiarachchi3023 2 жыл бұрын
Loved Vim for 15+ years. Its a superb editor. Coupled with sed commands you can handdle large data sets for research easily. Many editors also provide vim flavor and that is a impressive. Thanks for making this video and hope many hardcore programmers will adopt vim seeing benefit. Disclaimer: Yes, its addictive. Its hard to get started as well.
@aldrinseanpereira140
@aldrinseanpereira140 2 жыл бұрын
finally... I can exit Vim 😂
@henrytan5707
@henrytan5707 2 жыл бұрын
😄😄
@mohamedhabib7917
@mohamedhabib7917 2 жыл бұрын
😂😂
@saumyashah6622
@saumyashah6622 2 жыл бұрын
Hahahaha. Relatable af
@j0Nt4Mbi
@j0Nt4Mbi 2 жыл бұрын
😂 😂 😂 😂
@RealArchitArya
@RealArchitArya 2 жыл бұрын
Esc + :wq
@wypimentel
@wypimentel Жыл бұрын
I've watched I think 3 vim tutorials, every time I learn something new, now I learned the ci", ci) ci} Very useful, thanks a lot!
@CodLiv3rSid
@CodLiv3rSid Жыл бұрын
hey could u link me all those tutorials ?
@ajaysinghrathore1940
@ajaysinghrathore1940 2 жыл бұрын
Never thought I would see a 1 hour tutorial of a code editor Edit: holy shit! Never knew I needed this tutorial! Gonna help me a lot. Thanks dude
@JacobMoen
@JacobMoen 2 жыл бұрын
The biggest reason for why you'd want to learn to use a text editing environment like Vim or Emacs is that using the keyboard allows you to get the commands into your muscle memory. It's like playing an instrument. After training, your fingers automatically perform complex motions without you thinking about it. That's something that you will never ever be able to using a mouse and menus. I am an Emacs user, but I am watching this to learn Vim (read Neovim) because that's the only thing that I can make run on my old and seriously weak Celeron based laptop.
@alijafarzadeh8267
@alijafarzadeh8267 2 жыл бұрын
I am new at coding, and the way you explained was very convincing and inspired me to learn all this stuff faster. Thank you.
@haraldurkarlsson1147
@haraldurkarlsson1147 2 жыл бұрын
I think most younger folks that grew up in the modern era may not realize that the early computers were all operated from the keyboard. The Apollo landing computer only had a 3 by 5 keyboard (0-9, +, -) and some seven other main keys (CLR, PRG, ENTER, RESET etc). Hence was natural to find short-cuts for typing in commands quickly - an art that vanished with the emergence of the mouse (a concept Xerox invented and Jobs adapted in his Mac computer).
@cebuanoninoy
@cebuanoninoy 2 жыл бұрын
I'm using vim in the basic way like at up to the 24 minutes of this video. With this tutorial I'm gonna use vim more often than I should this time, GOD willing. Thanks Florian and FCC for this wonderful tutorial on vim.
@phanikishanyt
@phanikishanyt 2 жыл бұрын
Thank you folks, vim is super handy and the more you excel the more it helps go through logs and understand the flow and debug the issues.
@armandoleon9901
@armandoleon9901 2 жыл бұрын
Vim was the coolest thing I learned last year. It has improved my productivity. Pairing it with tmux is super cool too, as well as fzf to fuzzy find and open files via the terminal. Getting use to the keys at first takes a while, but consistent practice or forcing yourself to code/write is what worked for me. There’s some cool tricks too. I think learning the basics is enough and you can pick up those tricks along the way by watching KZbin or looking online. Configuration is a hill to climb itself, but :h for the win. What helped me was looking at how others set up their configs via their repos.
@sorvex9
@sorvex9 2 жыл бұрын
Just get lunar vim and you would have saved yourself for most of the trouble
@hispantrapmusic301
@hispantrapmusic301 Жыл бұрын
@@sorvex9what’s the difference?
@distant6606
@distant6606 Жыл бұрын
@@hispantrapmusic301 hes referring to the difficulty of getting vim/nvim on par with an ide. stuff like lsp, file explorers, etc. If you re new to vim learning both the binds and how to configure vim is kinda hard, so a lot of people use vim distributions (think about it like linux distributions) which basically are preconfigured setups that include all the "goodies" out of the box. lunarvim is a famous distribution that is visually appearling, has lsp preconfigured, a nice file explorer, and nice keybinds to get started with.out of the box vim is not great.
@valentinoerrandonea2045
@valentinoerrandonea2045 Жыл бұрын
i've been using the stuff i learned here for 4 months and it has really improved my coding! thank you!
@Blogdorf
@Blogdorf Жыл бұрын
Outstanding. The presentation is well-structured and smooth, not amateur. Listening is easy and captivating. I have to force myself to break away. I also go back to specific points in the presentation that I want to emphasize for myself.
@tigana
@tigana 2 жыл бұрын
I started very briefly on Sublime Text as a teen and then used vscode ever since. Really excited to try this
@scarthebadguy
@scarthebadguy 2 жыл бұрын
Yeaaa I love sublime. Using it currently, I dropped vscode for sublime
@SebasSBM
@SebasSBM Жыл бұрын
How curious: during years I have been looking forward to make my own IDE mirroring Vim behaviour (or at least fantasying with the idea), then *I find out you already did so*. Impressive, most impressive.
@jrgomez
@jrgomez 2 жыл бұрын
¡Gracias!
@deepdive429
@deepdive429 2 жыл бұрын
Finally I can save and exit from vim successfully. Thanks It's very useful now I can continue with vim for my daily editor.
@badreddinehamid2377
@badreddinehamid2377 2 жыл бұрын
the first 8 min of this video motivated me so much to watch all the video in one day
@Zakaros1000
@Zakaros1000 2 жыл бұрын
I just buy the vim master class tutorial from udemy, after following some youtubers and developers talking sweet of vim after you get use to it. After watching several free tutorials in youtube I decided to buy the course and give it a try
@rahulsaha2859
@rahulsaha2859 2 жыл бұрын
FCC is a magician .. just today I was having difficulty exiting VIM Damn ... Here you are ... Now i will be an. Expert user 😁😁
@Kevinschart
@Kevinschart 2 жыл бұрын
as a person who works all day in excel and hates to use the mouse i appreciate the ability to menu dive and call features with the keys
@worldboy9684
@worldboy9684 11 ай бұрын
This is simply a tutorial of the HIGHEST QUALITY, cudos, will most likely watch it a third time or more
@Stoic-Futures
@Stoic-Futures 2 жыл бұрын
I only used vim because I'm in the terminal so much, but now I'm determined to make vim my primary editor for c programming.
@ego_sum_liberi
@ego_sum_liberi 2 жыл бұрын
me too.
@Extorc
@Extorc Жыл бұрын
00:35:51 deletion of words 00:42:38 jumping between parenthesis 00:43:46 jumping to next symbol 00:44:24 deleting till symbol
@__________________________6910
@__________________________6910 2 жыл бұрын
Florian Dedov the God of vim. Most of the time he use vim.
@mrECMAScript
@mrECMAScript Жыл бұрын
After watching 40 minutes I'm like a magician :D Thanks!
@jupitersky
@jupitersky 2 жыл бұрын
I'm gonna get SO addicted to this...
@edwinboon9574
@edwinboon9574 Жыл бұрын
This is awsome. I want to learn vim because I'm tired of VS code being slow as ****. Great course so far and can't wait to get better at it and use it on a daily basis at work
@clustersnake
@clustersnake 2 жыл бұрын
Now this is something I've been wishing for a long time!
@begriddled
@begriddled 2 жыл бұрын
Really useful. I use vim quite a bit but only in the most basic way. I've been through this at double speed and need to go back over stuff (of course) - I'm sure I'm going to be using it more, and better, now because of this. Thanks.
@sergmont
@sergmont 11 ай бұрын
this was useful. Thanks. Was hoping to learn a bit about how to add plugins or more complex vim configurations, but I'll look for that elsewhere. Thanks a lot for your time of making this video.
@noobgamersland6969
@noobgamersland6969 2 жыл бұрын
Starting learning because of college course... Ended up loving VIM
@xsr-re6pl
@xsr-re6pl 2 жыл бұрын
Thanks!
@timothycollins718
@timothycollins718 2 жыл бұрын
How l used to shut the whole computer just to quit vim 🤣🤣 thanks bro love this no more scared of vim
@gunthergumdrop9071
@gunthergumdrop9071 2 жыл бұрын
Thanks so much dude, this was incredibly comprehensive and wasted none of my time.
@yi-zhiwang6850
@yi-zhiwang6850 Жыл бұрын
Best Vim turorial ever!
@e555t66
@e555t66 2 жыл бұрын
Thank you very much. I discovered vim 2 days ago and I already love it.
@jared8411
@jared8411 2 жыл бұрын
This is great! What I have been looking for about a few weeks now. I am an extremely slow navigator, mostly because I have a movement disorder. VIM helps me close the gap and probably widen it in my favor from Devs that are quick with their hands. I have been reading so many articles and tutorials. I have been combing VIM help system (Which has a lot of good stuff to get back to later) first I need to get up and running in VIM to use as a basic/lightweight IDE for HTML, CSS, JS and Rust, and once it is useable I can dive in and learn. VS Code is so bloated with stuff that gets in my way and it feels like a waste of time to learn when it seems clear VIM is way more versatile, especially when getting into embedded systems with Rust. I have been dipping my foot in Linux (mostly Ubuntu since v6, almost 20 years now) Just need some functionality that is not included in VIM with out some additional plugins, but I don't see anything geared to starting that even gets into that stuff, that people probably need to make the initial move.
@nassdj8493
@nassdj8493 2 жыл бұрын
What a relief... i finally jailbreaked from VIM, stuck for a while so i have to use my phone to google an escape plan 😄
@RishabhJain-pk8ty
@RishabhJain-pk8ty 2 жыл бұрын
Got everything I needed as a beginner from a single video. Big Thanks :)
@sujalsamai6459
@sujalsamai6459 2 жыл бұрын
Absolute legend of a channel
@DavidBerglund
@DavidBerglund Жыл бұрын
I've used vim for years but never bother to learn that many of it's features. Learned a few new tricks here! One thing I never new about was the register for yanked/cut strings, but even if I yank say 3 lines, only the latest shows up in the registry? Deleted (or cut) lines can pile up. I thought I could yank a bunch of lines and then use them later, which could be handy.
@ritiknandanwar8198
@ritiknandanwar8198 2 жыл бұрын
for anyone who want to try vim, but have a windows (and dont want to install WSL , for whatever reason) , you can install cmder (it is like a terminal app) very good ui AND yes , vim is alrealdy configured in it, give it a try , it was helpful when i was starting out with vim
@vikku_19
@vikku_19 2 жыл бұрын
I use wsl 1 and it's pretty handy for me.
@kenjikurizon
@kenjikurizon 7 ай бұрын
It helps me to learn more advanced vim tricks. I was suck with vim motion for months.
@007abdulrahman
@007abdulrahman 9 ай бұрын
Such a great video for free is crazy !
@conradozanutto1546
@conradozanutto1546 11 ай бұрын
Brilliant tutorial! Thank you and congratulations!
@tomate3908
@tomate3908 2 жыл бұрын
Omg, this is exactly what I needed, thanks a lot guys
@shubhrajyotisaha1079
@shubhrajyotisaha1079 5 ай бұрын
can't stop watching at 3 am. my dream course
@testescripts
@testescripts 2 жыл бұрын
Very nice ! Best vim course.
@adityaverma2496
@adityaverma2496 2 жыл бұрын
You are doing a great job free code camp Brilliantly awesome Keep it up ✌😊💕🤗🤗
@TheDriftingStig
@TheDriftingStig Жыл бұрын
I'm only 15 minutes into this tutorial and my mind is blown. I feel like I've been wasting so much time using my mouse when writing code! My only fear is that I'll become so used to it that I'll want it here in my browser. WAIT, someone made a Vim Chrome extension....
@fabrice9848
@fabrice9848 2 жыл бұрын
You definitely convinced me to check out your channel. Good job!
@MITdork
@MITdork 2 жыл бұрын
We need more outcomes based tutorials like this to on board more users into vim. Can you please update description or place syllabus and time stamps within comments?
@mb_mobile49
@mb_mobile49 2 жыл бұрын
I agree, this video should have timestamps since watching the entire session in one sitting is not likely.
@MaxAlonso
@MaxAlonso 2 жыл бұрын
I will also like to see timestamps, it will make easier to re-watch the beginner intro. Tambien me gustaria que agregaran timestamps, seria mas sencillo revisar las intrucciones para principiante.
@e555t66
@e555t66 2 жыл бұрын
The idea is to get wet and not drink from the firehose. Do it in chunks if you are new, over time this should be rewarding.
@MaxAlonso
@MaxAlonso 2 жыл бұрын
@@e555t66 I'll give it a try
@LinearAnimatrix3253
@LinearAnimatrix3253 6 ай бұрын
Thank you for convincing me to use vim
@Js-Lovers
@Js-Lovers Жыл бұрын
Even there's lot of code editor like vscode, atom.. But VIM is one of the favorite editor for linux distribution❤❤❤❤❤
@MohitKhare
@MohitKhare Жыл бұрын
Thank you folks for this video.
@willywallace
@willywallace 2 жыл бұрын
Great video, thanks for sharing, I'll try to use Vim in my daily basis, I am an iOS Developer and XCode started to include Vim as editor so I want to begin using it.
@thepsychedaily
@thepsychedaily 2 жыл бұрын
Finally. I can actually use Vim now.
@LevisRaju
@LevisRaju 2 жыл бұрын
I was trying to learn VIM. Adios VS Code! VIM, I'm coming!!! You guys rock!!!
@karma_yogi_42
@karma_yogi_42 2 жыл бұрын
you're crazy
@sm_stormzy1075
@sm_stormzy1075 2 жыл бұрын
@@karma_yogi_42 nah
@ilshatt
@ilshatt 8 ай бұрын
I have no words, thanks you!
@shfunky
@shfunky 2 жыл бұрын
This was an excellent tutorial! I've learned a TON of stuff about Vim! Thank you so much Florian!
@MrsSashkina
@MrsSashkina 2 жыл бұрын
Hi, I want to ask: Is it able on Windows/Subsystem for Windows (I haven't watched video btw)
@shfunky
@shfunky 2 жыл бұрын
@@MrsSashkina Hey there. Yes, I believe it is possible. I've tried it on Debian WSL on Windows 11 and was able to follow the video without any issues.
@MrsSashkina
@MrsSashkina 2 жыл бұрын
@@shfunky Thank you so much! I had very nice video on my native language, but some things didn't work on Subsystem (Ubuntu by the way), so I wasted a lot of time. Thank you so much!
@Akosiyawin
@Akosiyawin 2 жыл бұрын
This tutorial is the hardest to learn vim!
@khunemz
@khunemz 2 жыл бұрын
Just watched NeuralNine's videos!! Great tutorials keep doing
@TTNDR
@TTNDR 2 жыл бұрын
While wathing this, I have spent the past hour trying to figure out why you look familiar. I have finally found it. You remind me of Varga from breaking bad.
@Khigha87
@Khigha87 2 жыл бұрын
What a Legend! Thank you for this vid. Just wrote my first program using VIM, feeling like a badass coder for real! It doesn't work though lol, busy debugging. Many thanks FCC and Florian, very well explained. I would be keen to watch a vid or read up more on the plugins you use in vim and why if you ever make such content, will keep an eye out on your channel and on here. I ❤FCC 4 EVA!!!
@MrsSashkina
@MrsSashkina 2 жыл бұрын
Hi, I want to ask: Is it able on Windows/Subsystem for Windows (I haven't watched video btw)
@SreenikethanI
@SreenikethanI 2 жыл бұрын
@@MrsSashkina yes, it works on WSL
@notelectrohead
@notelectrohead Жыл бұрын
as an outsider, i can totally understand the power this tool possesses but it looks so overwhelming to get started with. i hope i practice and do more hands on to get used to it
@ChristophVonBagel
@ChristophVonBagel 2 жыл бұрын
VIM is life !
@piyushbhuva9975
@piyushbhuva9975 2 жыл бұрын
great video guys as always keep rocking..
@minercreepmc
@minercreepmc 2 жыл бұрын
I have used vim for a year right now and I have to tell you it kinda 'No Pain No Gain", first time i used this it kinda shoot me into the face but right I don't even to touch the mouse anymore
@mdryan8
@mdryan8 3 ай бұрын
It took me a while, but I cracked the code! 🎉
@RodrigoJaraPiccardo
@RodrigoJaraPiccardo Ай бұрын
great tutorial, thanks!
@cinarcvn
@cinarcvn 9 ай бұрын
It was a very helpful tutorial, thank you very much! It was very useful to get started with Vim and get a general idea about it. I know that Vim is a really powerful editor and I think there's a lot of efficiency to be gained from using it. And this video helped me a lot to get started.
@bgsebs
@bgsebs 2 ай бұрын
1. Once you open a file, on with vi namefile.txt will open in normal mode where any key has its own purpose 2. : Is for commands, to quite :q to save :w to quite and save :wq, :set number... :set relativenumber
@salomoncancholaespinoza6392
@salomoncancholaespinoza6392 2 жыл бұрын
Thank you so much for this video, it really helped me to understand better the use of this text editor.
@chemistryman6053
@chemistryman6053 Жыл бұрын
very helpful for a beginner like me. Thankyou so much
@tigermachine9229
@tigermachine9229 2 жыл бұрын
Thank you for this awesome guide, I love to learn new tools and this will be very handy for me in my learning process.
@jfr213
@jfr213 Жыл бұрын
Everyone should try the undo tree feature, this is absolutely amazing.
@casparvolquardsen6761
@casparvolquardsen6761 Жыл бұрын
Thanks! Great overview
@wp-wisdom
@wp-wisdom 2 жыл бұрын
This is what I needed!!
@mahdirezazadeh5076
@mahdirezazadeh5076 2 жыл бұрын
I'm glad I switched to Linux from Windows, and I should have done it earlier 😃
@RajeshKannanrk
@RajeshKannanrk 2 жыл бұрын
Thanks Florian and freecodecamp for such a wonderful session 🥳😍
@realchoodle
@realchoodle 2 жыл бұрын
Timing is so great
@terrybetteridge
@terrybetteridge Жыл бұрын
This video was helpful. Thankyou.
@limitless1692
@limitless1692 2 жыл бұрын
Thank You! You helped me alot to setup my first `.vimrc` configuration file for my VIM. I am so happy!!
@UnifyRadar
@UnifyRadar Жыл бұрын
If you make a habit of saying out loud what you are doing when executing vim commands, you are not going to have to remember the keybinds, because they are essentially just the initials of what you are saying. "yank inner word" you'll remember that way easier than y+i+w.
@fabrice9848
@fabrice9848 2 жыл бұрын
Very good Vim tuto. Do you plan to release another on Emacs?
@gilmar69047
@gilmar69047 Жыл бұрын
Wonderful mastering
@aer0449
@aer0449 2 жыл бұрын
I was looking for this thank you so much guys ❤️
@eltonjon5336
@eltonjon5336 Жыл бұрын
Great content! Thanks!
@pallava-d9z
@pallava-d9z 2 жыл бұрын
Thanks for putting it together... 👍
@mateosepulveda8221
@mateosepulveda8221 2 жыл бұрын
Thank you so much dude.... Helped me a lot
@Ahurac
@Ahurac 2 жыл бұрын
Thank you for the detailed tuto, helped me a lot!
@fredrikung3903
@fredrikung3903 Жыл бұрын
Great work! :) I've used Vim the almighty for some years, and know quit a bit, but I certainly picked up some new goodies from you here.. Thanks! :)
@KylerEdginton-e6p
@KylerEdginton-e6p 13 күн бұрын
video title: for beginners start of the video: “we can press d3w to delete three words!”
@anoyq56
@anoyq56 2 жыл бұрын
Great. I have been looking for a vim tutorial.
@AkashSingh-db1is
@AkashSingh-db1is 10 ай бұрын
Thank you so much It helps me a lot I've just started learning linux..and now I'm half through the video hope it's ends well for me😅
@AkashSingh-db1is
@AkashSingh-db1is 10 ай бұрын
22:25 how to save things like set numbers n all as default
@GetCTRLVideos
@GetCTRLVideos 2 жыл бұрын
Brilliant stuff! I am using Vim emulation for Visual Studio Code while I'm getting the hang of it. :D
I tried 10 code editors
10:28
Fireship
Рет қаралды 3,3 МЛН
The Vim Experience
45:19
Bog
Рет қаралды 294 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Git and GitHub for Beginners - Crash Course
1:08:30
freeCodeCamp.org
Рет қаралды 4,4 МЛН
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 420 М.
0 to LSP : Neovim RC From Scratch
30:47
ThePrimeagen
Рет қаралды 1,5 МЛН
Git Tutorial for Beginners: Learn Git in 1 Hour
1:09:13
Programming with Mosh
Рет қаралды 2,7 МЛН
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
typecraft
Рет қаралды 149 М.
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 1,2 МЛН
(Neo)Vim Made Me a Better Software Developer
40:27
vim-jp
Рет қаралды 61 М.
The Ultimate Beginner’s Guide To Learn And Master Vim
33:56
Josean Martinez
Рет қаралды 61 М.
I Beat Minecraft From One Grass Block
35:27
Beppo
Рет қаралды 7 МЛН
Turn VIM into a full featured IDE with only one command
11:55
Dreams of Code
Рет қаралды 732 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН