11 commands in 1 video, this is the best Vim introduction!
@achimwaspАй бұрын
... or just type "vimtutor" at your prompt and you'll learn much more as you will actually do the things that are explained.
@griefingcloud43912 ай бұрын
Such a gentle introduction... Thanks for providing nice video for the beginners.
@mauipomare32324 күн бұрын
best tutorial ive ever seen
@randleqgod10 ай бұрын
This is literally my favorite editor. I appreciate you putting this out.
@blah1488 ай бұрын
The first 2 minutes were a bit fluffy, but nice long-form vids! Glad to have this series.
@ghangj4 ай бұрын
I use vim btw :). Thanks for your lectures and videos, it has improved my linux skills.
@programmersurfdude6 ай бұрын
Thank you so much, I am a student right now and we are learning about Vim. Also want to mention that your room is AMAZING
@Wampa84210 ай бұрын
18:09 One addition I would've made. Pressing 0 moves the cursor to the beginning of the line, but typing ^ (caret, which I think is shift+6 on a US keyboard) moves the cursor to the first non-space character. Very useful if the text file is indented.
@juanmacias592210 ай бұрын
Huh, that's a no go for my nvim setup lol I would have mentioned "o", and "O", for creating a new line under, and above the cursor. :D
@pablogonzalezmora467910 ай бұрын
Very good tip. In Spanish keyboards, caret needs two keystrokes.
@hyltoncarboo83036 ай бұрын
I started using vim recently. It is hella powerful when you start getting used to it.
@cp-cppАй бұрын
One of the best tutorial to use the Vim Editor :)
@jamesalles13910 ай бұрын
Yes. Exiting Vim should be the first lesson and the first step! EMACS
@Mzansi7410 ай бұрын
EMACS is really cool. And I think that it is the most productive editor, especially for systems programmers. The learning curve was just so steep, so I never learnt it. But with today's IDEs, GUI is actually the most productive for most people. I did not realize that EMACS is still a thing! LOL
@Rbourk25210 ай бұрын
I love this editor. Once I’d mastered a few key bindings and commands, I could edit text very quickly without touching the mouse.
@JudgeFredd10 ай бұрын
Everybody needs this video ...
@dgw24Ай бұрын
Sorry to interrupt myself *screen cut* 😂😂😂😂 hilarious
@RahulKumar-yq9ic6 ай бұрын
learning is not a rush
@stibbits7087Ай бұрын
Can I suggest that for a tutorial about a text-driven program like vim, having the keystrokes you enter displayed on screen is almost essential. Most screen recorders allow you to do this. Thanks for the video
@Tomas_F.15 күн бұрын
My first touch with the Vim. Very nice video, thank you!
@xorda1337Ай бұрын
FINALLY I exited vim 😭
@matthewfaherty10 ай бұрын
Thank you for this. I literally just asked a Facebook group about Linux why on earth somebody would use vim, as to me, it seems so impossible to use compared to things like nano. Answers I got surprised me. And I didn't realize how important it is in the Linux/UNIX space
@juanmacias592210 ай бұрын
I think it's a preference thing, but after you understand the commands, and they become second nature, you fly through files! I feel hindered when I have to use the mouse to edit files now lol
@Mzansi7410 ай бұрын
Another cool thing, is the the predecessor of vim, namely vi was available on (almost) all POSIX (UNIX) installations. That is why we "had" to learn it. Especially because we were often not directly connected to the Internet. And vi is even more esoteric. Coming from vi, vim was REALLY a step up.
@ironfist778910 ай бұрын
@@Mzansi74 I'm still on pico which is pre-nano. I used vi a bit but never spent enough time to make it second nature
@Mzansi7410 ай бұрын
@@ironfist7789 "real programmes" us ed - the predecessor to vi LOL
@manueljordan31710 ай бұрын
Huge thanks for this video and the playlist - Yes, I am going to watch all this serie!!!!
@bTorch-nz7rp4 ай бұрын
Great start to relearning this amazing journey!!!!
@freckhard10 ай бұрын
:wq will always write the entire buffered file before quitting, wether or not you have changed it. You may want to use :x which only writes the buffer if you have actually edited the file and then closes it / exits vim. Especially useful for very large files like syslog and others, hope this helps :-) Great series Jay, even though I am using vim daily I still watch your (updated) series, you never know if there is something new or something I forgot, keep it up!
@SaiKumar-pl7bkАй бұрын
great explanation ...with simple terminology
@micranes673Күн бұрын
Great stuff.
@shado2wx10 ай бұрын
Thank you for this!!!
@subarutendou10 ай бұрын
Good to see a vim turtorial, I'm using emacs but using evil for vim movement because I'm using vimium on browser and I'm lazy and don't want to using so many different movement across all the program and vim seem to available for almost every program I'm using, so I'm choose vim movement. evil have some movement not act the same as normol vim, but it still good to refresh and maybe found something I didn't think of how to use vim movement.
@n-o-i-d10 ай бұрын
The last part of the title made me chuckle
@victorpinasarnault9135Ай бұрын
I love it!
@ranimungcal5 ай бұрын
thank you for this vim tutorial!
@michaelenelmar6 ай бұрын
Quick save in vim? Hey Jay. After nano, I'm a very happy micro user. But I love to optimise and get more efficient and what's better than get glued to the keyboard? I love the hjkl navigation! So here comes my question: I'm learning bash scripting and, like everybody else, I got one terminal with my script and another with my code. But to test it, I have to leave insert mode, type w, hit enter, test my code, go back and enter edit mode again. On nano you just hit Ctrl + w and on micro it's really Ctrl + s ! What I mean is that how can the most efficient editor ever be so inefficient in such a basic and essential task? Save, test, continue. Thx for all your great work.
@KomentarSaya5 ай бұрын
please add screenkey to your monitor
@michaelplaczek93859 ай бұрын
micro is my favorite nano-styled editor, vim is my favorite general text editor
@Parsley47069 ай бұрын
Very informative, thank you!
@Whoknowsthatman9 ай бұрын
Thank you Jay.
@djlclopez128Ай бұрын
I am new to this, but I have a question: I hear a lot of bad things about Vim, but some people still use it. Is it bad to use as an IDE, or is it completely outdated? I don't understand if it should be used or not, it seems so hated.
@atajahangiri586110 ай бұрын
VERY very GOOD video
@2wardruid28 ай бұрын
Great tutorial! Thank you
@Jason.M10 ай бұрын
Yes! I Want to take the VIM "cert" from the Linux foundation.
@achinthadulshan868210 ай бұрын
Thanks❤🔥
@tanuj059 ай бұрын
Awesome video !!
@INTJames10 ай бұрын
Redo is ctrl r
@YannMetalhead9 ай бұрын
Good guide.
@VulcanOnWheels21 күн бұрын
8:00 This never made sense to me because the instructions are on the screen as soon as you start Vim.
@olegriabov99282 ай бұрын
I'm using vim motions in VS Code and for some reason shift-I command doesn't work here :(
@MaverickFischer10 ай бұрын
Wait, the title says how to exit VIM. I’m watching later!
@manueljordan31710 ай бұрын
Is curious, I have Ubuntu Desktop 22.04 and I wrote the "command -v vim" command and returns nothing as you too. I wrote the "vim --version" command and returns error about vim is not installed and suggested some commands to install, such as vim, vim-tiny .... the fun part is if I execute "vi --version" it shows an output with "VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 16 2023 18:15:38)" as the first line .... so VIM really was already installed from the beginning - and just in case, I can open VIM as you do with the same commands but just using "vi" and not "vim"
@davidmoore57310 ай бұрын
good stuff
@jasonbourne75710 ай бұрын
Please do the NeoVIM series
@improving_cow9 ай бұрын
nice
@bugajpcmr60935 ай бұрын
How do I quit?
@Yupppi9 ай бұрын
"People make fun of vim saying how hard it is to exit" that is not a joke. I started my coding on my uni's unix server terminal interface and used jed that was configured for students. It also had vim and I heard vim is good so I opened it and I also sometimes accidentally opened it. I was always stuck for minutes and it was doing all kinds of crazy stuff (and I never managed to write a single line that I intended). Just now I'm editing a file in vim and :q does nothing (other than type :q on the file), I can't even get to the command area.
@GettyBlocksАй бұрын
I'm actually learning this tutorial because i couldn't exit vim
@LearnLinuxTVАй бұрын
I love this comment.
@dark_cloud_storm10 ай бұрын
What is benefit of vim over nano?
@Multowz10 ай бұрын
More feature-rich and easier to navigate/edit the file
@juanmacias592210 ай бұрын
I think it depends on what you are doing? If you are just changing some configuration, or something small, might as well use nano. But if you change files often, like a developer, it enables you to move around the files easily, find, replace, cut, paste, multiply text. Along with macros, which are like tiny recordings, that will replay a combination of key strokes as many times as you need, so that you don't have to do something manually many times. Also, I believe nano doesn't have syntax highlighting for programming languages, and you can also run a program from vim by using the command ": ! bun program.ts". Bun is a JavaScript run time, which can be replaced by any language runner, like ": ! python program.py"
@MarkusHobelsberger10 ай бұрын
:x team unite!
@Vlad_a45010 ай бұрын
":q" - does not work! want my screenshots? )))) It only works befor you start texting!
@helloimatapir10 ай бұрын
Of course it works. Sounds like you are in Insert Mode. Go back to Normal Mode.
@MarkusHobelsberger10 ай бұрын
@@helloimatapir This. Probably needs to press Esc first to go back to normal mode.
@SnowDaemon8 ай бұрын
Not the Windows tutorial :0 lol
@rajendraprasad9379 ай бұрын
😅😅😅😅😅😅
@aMartianSpy2 ай бұрын
It's not possible to exit vim.
@Merc3993 ай бұрын
is there a video with a HELLA FAST recap of the hotkeys??? like wtf is these tutorials with all this useless extra info?
@emir78842 ай бұрын
yeah, its useless for you, but for a beginner is usefull
@d3x843 ай бұрын
vim is very likely one of the worst applications ever created.
@BeesCantSwim10 ай бұрын
You talk too much.
@Mzansi7410 ай бұрын
There are other channels... But I find Jay's step-by-step approach the best for solidifying Linux knowledge!
@SnowDaemon8 ай бұрын
This isn't a channel for quick how-to's. This is a channel for Linux enthusiasts who want to learn as much Linux as possible. We love this guy, he's a treasure trove of Linux administration and automation. You can go watch a 30-second how-to from some high-schooler who googled how to install Vim 30 minutes before he recorded the video if you want.
@ubeaut10 ай бұрын
I put these 2 lines in my .vimrc so I have persistent undo. echo "set undodir=~/.vim/undodir" >> ~/.vimrc echo "set undofile" >> ~/.vimrc I like vim but sometimes it is confusing.