free web page hit counter
🛡️
Copyright Notice: This video is officially sourced and embedded from YouTube. For all copyright inquiries, reports, or removals, please contact YouTube's legal team here.
freeCodeCamp.org

freeCodeCamp.org

11,700,000 subscribers

👁 941,232 views

Vim Tutorial for Beginners

Video Overview & Insights

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.

17:39
48:30

— @rakhibandyopadhyay5385

✏️ Florian Dedov from NeuralNine developed this course. Check out his channel: https://www.youtube.com/channel/UC8wZnXYK_CGKlBcZp-GxYPA

🎉 Thanks to our Champion and Sponsor supporters:

how about a project with thousands of files?

— @vanthuanluong9398

👾 Raymond Odero

👾 Agustín Kussrow

Tells you to come learn about Vim... teaches you NEOvim.

— @oosmanbeekawoo

👾 aldo ferretti

👾 Otis Morgan

Bookmark: 46:15

— @0thales1alexei

👾 DeezMaster

--

Great video!!

— @biggood-mq9ll

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news

Study suggestion for this video... Take notes in VIM!

— @martinclason2432

❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

bahas tentang plugin vim, file configuration dan cara setup nya dong bang

— @bagas-t8x

More User Perspectives

@

this is very helpful! thank you very much bro!

@LOL-cp6js
@

25:49

@Suraj03.
@

Thank you so much. It was really helpful :)

@Ashish_1776
@

this was very helpful! thanks for your effort!

@floge2954
@

I dont even know what im doing here
im just curious an love Freecodecamp Courses

@TechRapide
@

Damn , will i be able to ever learn all of it ?

@ShashwatShekhar-ek4zg
@

good presentation, but imho it describes too many commands/details, at some point it is pretty clear that it can be used just from keyboard, etc. i would expect a bird view description for me as a beginner to vim

@badeavolodea
@

Is it for linux or windows?

@JimmyZ-b4t
@

Ele fala rápido demais. Isso complica para quem não domina o idioma.

@arielgama
@

Can anybody tell me what this function is ?
3
2
1
4 cursor here
1
2
......

@RockJiao
@

1:27 start

@OverusedBrush
@

lol mind blown... i was not only ignoring everything below the waterline of the icecap,i was just using a snowflake ontop.

@slzckboy
@

this jst so i dont need to scroll all the way down


the true chad: sakiib_m
| Complete Time Stamp |
=========================
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:13:46 write and quit
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:24:50 vim cheat sheet
0:25:35 undoing & redoing
0:27:35 visual mode
0:28:25 deleting
0:28:34 yanking/copying/pasting
0:30:02 copying
0:30:30 paste in the upper case
0:31:10 changing/replacing
0:32:04 uppercase characters
0:33:35 navigating vim way
0:34:00 Jump Words
0:34:05 Jump words forwards and backwards
0:35:59 The Deletion Key
0:36:13 Delete a word
0:47:22 Indentation Formatting
0:48:42 visual mode
0:48:50 Visual Line Mode
0:49:14 Visual Block mode
0:50:21 Automatically Indent
0:50:54 Auto Indent a Line
0:51:46 Auto Indent the full file
0:52:12 Searching
0:53:22 Search Backwards
0:54:54 set a waypoint
0:55:53 Center the current Selection
0:56:36 Searching and Replacing
0:58:09 Repeating a command
0:59:07 Macros and Registers
0:59:50 Deleting in Vim
1:02:10 Macros
1:05:56 Install Neovim
1:06:18 Install Plugins
1:07:14 Init vim
1:08:03 Vim Tags
1:12:02 Vim Key Bindings

@slimyone42
@

Thank you master

@Luisja_c
@

thank u so much!!

@BảoKhánh-b4j
@

i have enjoy the lecture lots

@BiplobHossainSorker
@

wow. it really becomes very intuitive come you know the rules for commands.

@chud-sensei
@

9:40 for those who wanna know how to exit vim

@kuilherme
@

I don't know, man, I came here looking for a minimal way to use Vim as effectively as possible, not for a way to recreate Visual Studio Code in the terminal. Anyway, this is great for those wanting to replicate the setup in their one and only machine.

@miv_klyr
@

I can confirm that vim users are literal psycopaths

@mlkwy
@

Thanks so much for the video. May I ask, how did you record an hour plus video and have it to be only 85mb of size? Thanks once more.

@njokuokechukwuval3717
@

35:44

@Fobat76
@

Funny to see that you do all this in WSL2 from Windows 😂

@michelhoude3022
@

Just change title to NeoVim, why lie?

@spMarcin
@

you explain it so nicely, and precisely. great tutorial

@praveenmallar
@

Thank you sir!

@entalon
@

Thank you for the awesome tutorial!

@kumaraditya433
@

That sounds so convenient and logical, but yet it's a whole new language, seems a lot harder than switching from python to kotlin
For the whole video i was looking for a way to go to definitions, usages, find classes in project, i guess i'll need a ton of plugins...

@yobniares
@

For me the ~/.vimrc file is not working... So you have to make your file (.vimrc) into this directory ~/.config/vim/nvim/init.vim (by changing the name to init.vim)

@CipherStrike-x8d
@

For anyone having problems setting their preferences in a file:
Check if you are using "nvim" instead of "vim", in which case, your settings file should be named "init.vim" instead of ".vimrc", you also need to store it in the direction "~/.config/nvim/" instead of "~/"

@P4toxxz
@

16:10

@hridoysuttradhar4235
@

I uee Arch linux btw

@two-zero-zero
@

Which font you are using please ?

@hatache
@

Thanks

@JohnMagar069
@

I kept forgetting what w, e, gg, etc. do — felt like I was starting from zero every time I opened Vim 😅
Then I found VimDrill. It’s a free site that lets you actually practice Vim commands like a typing game.
Helped me get past that “Vim is too hard” wall. Might help someone else too. Just google it if you're curious.

@HAMHAMAT
@

*| Complete Time Stamp |*
=========================
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:13:46 write and quit
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:24:50 vim cheat sheet
0:25:35 undoing & redoing
0:27:35 visual mode
0:28:25 deleting
0:28:34 yanking/copying/pasting
0:30:02 copying
0:30:30 paste in the upper case
0:31:10 changing/replacing
0:32:04 uppercase characters
0:33:35 navigating vim way
0:34:00 Jump Words
0:34:05 Jump words forwards and backwards
0:35:59 The Deletion Key
0:36:13 Delete a word
0:47:22 Indentation Formatting
0:48:42 visual mode
0:48:50 Visual Line Mode
0:49:14 Visual Block mode
0:50:21 Automatically Indent
0:50:54 Auto Indent a Line
0:51:46 Auto Indent the full file
0:52:12 Searching
0:53:22 Search Backwards
0:54:54 set a waypoint
0:55:53 Center the current Selection
0:56:36 Searching and Replacing
0:58:09 Repeating a command
0:59:07 Macros and Registers
0:59:50 Deleting in Vim
1:02:10 Macros
1:05:56 Install Neovim
1:06:18 Install Plugins
1:07:14 Init vim
1:08:03 Vim Tags
1:12:02 Vim Key Bindings

@sakiib_m
@

Extremely helpful, thank you.

@UCTM1
@

Thanks

@MohammadAlhashmi-p5o
@

20:24

@AUTU8M
@

30:00

@olinabin2004
@

im nano guy that use windows xD
no need remember anything
ctrl+k remove line ctrl+u paste line (move elsewhere and you copy it)
ctrl+x y enter (save exit) how long tutorial for it is xD
my mom can use nano
vi vim what eva allways some new vimplus
if it would be esc COMMAND otherwise u in insert mode i would use it

@JarppaGuru
@

i looked up vim tutorials because i heard that vim is "coding at the speed of thought" so i wanted to know what all the fuss was about and i gotta say you explained it so well that i might actually check it out sometime

@Book7z
@

28:54 is the best part

@nlmaster9811