The dude didn't know how to split with v, how to open help, how to differentiate registers... That's a noob. It doesn't matter how much he used the tool if he's not profficient
This just shows you how good of a mentor Prime is, this dude was all over the place and Prime just keeps his cool and walks him through with clarity. It's a good example for me as I'm coming up on 3 years of experience and mentoring fresh engineers
Time Stamps 03:40 - Kick Start 04:20 - Ripgrep 05:20 - Copy init.lua 08:00 - Start init.lua walkthrough 09:00 - General vim Config Basics, Options, & horizontal jumps 12:36 - Vim Clipboard vs System Clipboard 18:30 - How to look up vim command with :h 'insert-command-name-here' 20:00 - Real Customization starts here 23:00 - Custom keymaps 24:00 - Execute custom functions from keymaps example 26:00 - Diagnostic keymaps, ie jump to the first error in a file 29:00 - Window Commands/splits 31:45 - Lazy Deps/Teasing apart init.lua for maintainability 39:30 - Quick look at Telescope 40:00 - Crtl ^ = Chefs Kiss, truly 43:00 - Vertical Jumps 44:00 - LSP Config/Mason Overview 47:00 - Reference commands, gr, cnext, quick fix, file and reference finding, generally a lot of searching 55:00 - Telescope trouble shooting 1:01:00 - Prime Drives, Undo tree, vim simplicity, lua, 1:03:00 - More Telescope configuration 1:04:15 - Lua Alias for type info 1:05:00 - Exploring types further 1:05:45 - Harpoon 1:06:45 - Top 5, how to get rolling with vim. 1:08:00 - Why switch to vim over anything else, for you by you
If terminal is the only thing, he can simply do horizontal split and enter the terminal mode there. I only configured two keybindings: one to enter terminal mode, another one is i map Esc key in t mode (terminal mode) to exit terminal mode without closing the terminal. It is pretty sweet to because you can navigate the terminal using nvim keybindings (hjkl), yank parts of the terminal including outputs, commands, your machine name, basically every text that you can see in the terminal.
I know prime hates pair programming but this needs to be a series.... like go programmer learns vim from prime typescript programmer learns vim nextjs developer learns vim etc
Many people don't know the fact that windows terminal has tmux like features. u can split panes vertically, horizontally and can also resize em and close. Check the commands on the command pallette of WT. alt+shift+ is vertical split and alt+shift+ - is horizontal split. Hold alt and arrow keys to change panes. Ctrl+shift+w to close
That's true and you can also change the keybindings. However, as far as I know (as a tmux-beginner), tmux has many more features than just splitting, e.g. multiple sessions with the possibility of detaching, renaming of windows, better navigation between panes/windows, tmux-internal copy buffer. In addition to all that you can further extend tmux with plugins and themes.
This video is a great reminder that not all people are easy to teach. This guy has 10 years of experience with vim and he is still stumbling around on Neovim worse than I did when I started learning it. That's fine but he is completely taking for granted how digestible Prime is making neovim feel like. Neovim is hard to jump into and Prime made me feel like I was more than capable of learning it because I am nowhere as scattered as this guy is and if he can do it, I certainly can. Thank you Prime, more content like this would be appreciate it. If you need another noob to teach Neovim to, I can be that guy :P
@@АлексейСтах-з3н He's not wrong, he is a noob at neovim which is what the title says. You can see him asking prime a lot of questions about the config and plugin commands. No need to insult the guy, he's right.
primeagen got me into nvim and now I can't stop tweaking all the little things that make me really enjoy my editing experience. And still there's always so much more to learn. Loving it!
As a noob myself, I thoroughly enjoyed this video. I know you're not a fan of pair programming but I'd love to see more videos like this. You and Anthony could do a "vim noob to power user" series lol
I did not know that semicolon and comma repeated the find character forward and backward. You really learn something new every time you watch someone else using Vim/Neovim.
one of the things surprised me is that neovim is actually fully cross platform with windows. So if he uses windows, he can use Nvy as a neovim gui renderer with neovim. And use neovim as if he were in a unix system. Except of course the command line will be powershell. But everything so far works great in my case. Lsp, telescope, completions, etc. Moreover, the configurations are identical if you use a linux system, so it's completely portable too. I use Linux on my work pc, but sometimes I develop a little bit on my personal pc, which have windows installed on it. So in my case this saves me a huge deal of going through wsl and stuff.
I am gonna watch this entire thing. Now it resonates even more withme because I finally got myself vimmotions for VSC after over a year. Not quite ready to take the Vim pill, though I have never really been a VSC worshipper nor "good" mouse user imo. I do like using my keyboard.
This vid really get me to reconfigured my stuffs more to my preferences. One thing I won't change for now is from Packer to Lazy cuz I'm kinda lazy (no pun intended) Also omg ctrl + ^ is very eye-opening.
I'm glad the guy was able to just paste the entire contents of the kickstart init file with no issue. I can't get it to work at all and am having to copy and paste in much smaller chunks for no apparent reason, and nvim keeps adding the "--" to the start of all lines after the initial line with "--", so that's just great...
5:38 I think he was actually pasting INTO the terminal instead of pasting from the vim "+ register. That might be why he got that popup. Unless yank32 has the permission dialog by default.
I love the power of Vim/NVim and the flexibility of it. I used it for years and after seeing your videos I kitted out a fairly capable nvim setup. However, the debugger configuration and UX is rough. Would love to see you configure that and interact with it. Videos out there about that only set it up and run it but don’t really debug anything which doesn’t highlight the problem with the flow.
The thing people tend to mis I feel is that Neovim is a process. You don't go to the intimidating endgame right away. You use a base config until you notice small annoyences, try to fix em and get increasingly good at it and make increasingly bigger changes until you have your dream editor. You'll probably be slower than vscode in the beginning, but its just an investment.
Another thing is most people tend to clone someone's config and hoping to customize it from there. In my experience this is a horrible idea, because there will be a tons of custom keymaps, plugins, settings that you are not aware of and therefore, you will be lost. I always suggest to have those people's config as a reference, but try to configure nvim yourself. that way you will know what is the available options, keymaps, plugins, how to do fixing if something breaks.
Ok yea harpoon is legit, I could have just come here for that, quick list, and a few other just hunting/reference tricks I was missing. Up'd my game thanks prime.
You only need to use whichkey if you clone someone else's config, e.g., when you use kickstart. When you configure your own setup, including the keymaps, then whichkey is nothing but a nuisance.
I've played Doom using hjkl instead of wasd... on a dvorak keyboard: I couldn't use my mouse. It was pure hell but in my heart, I won something. Anyone should study the space-cadet keyboard: the arrow keys were there!
This video is gold. I am giving neovim once more a try for work. The only thing I am missing is the "change signature" in Golang and I would be set. Any tips? Maybe a workflow how to do that refactor using quicklist?
as soon as he turned his line numbers off, I was like damn prime's going to have a hard time giving instructions.. then the rest of the video "no go one line lower, no you've gone to far, one up, wait no, go to the one that says x"...
As someone who is learning nvim on Windows myself I've found its best to make your environment as linux like as possible. I'm in between using chocolatey as a native package manager for windows while i code or just using WSL (wsl uses a LOT of ram due to virtualization but gives me a proper linux terminal). Also why is it so easy to fall for vim? I've been on windows all my life, I haven't touched DOS since the 90s and my terminal usage is limited yet the simplistic nature of doing all my work on a big blank canvas and zero distractions makes me happy.
have you tried scoop? when i had to use windows it was my "package manager" of choice it's not perfect by any means but i found it working better than choco for unix-y programs
@@demolazer I'm learning them slowly but hjkl and plenty of others are already filling my head. Not sure about trapped, however, since even if I'm in vs code i feel like I'm improving my ability to focus on typing. Actually getting flashbacks to when I was a kid in the 90s, playing around on my mom's word processor.
I have bound Ctrl+W to save/write because sometimes I feel like that typing out :w manually is too slow/anoying I also have bound Ctrl+Q to quit for the same reason. So I have bound splitting to Ctrl+C + S (horizontal) and Ctrl+C + V (vertical)
I finally installed neovim and I can just say decades of gaming have ruined me (at least when it comes to the intended "arrow" keys) whenever I wanna go up my body just automatically moves the middle finger 1 key up, making me press instead of same with sidewards movements being ingrained to be done with pointer and ring finger, making me press instead of 🤣
5:50 Prime interrupting him all the time, but I'm sure he wanted to complain about `nopaste`, although I can't understand why, as he said he's been using Vim for _many_ years.
I tried neovim for my job worflow and at first I couldn't addapt to it, then when I changed my laptop I gave it another chance, and now I am using nvim finally. I also tried the vim plugin for vscode but for me it doesn't worked as expected
"Teaching Neovim from scratch to a noob"
*30 seconds in*
"yeah ive been using vim for 10 years"
bruh
Techinically a neovim noob
@@no_name4796
The man was pretty much a Neovim noob. Anthony was using vim and really narrow subset of commands, it shows.
Bruuuuh, exactly my reaction.
If someone using vim for 10 years is a "noob", who am I if I NEVER used vim?
The dude didn't know how to split with v, how to open help, how to differentiate registers... That's a noob. It doesn't matter how much he used the tool if he's not profficient
title: "To A Noob"
first 30 seconds in: "so I've been using vim for 10 years..."
vim and neovim are kind of different tho. Neovim modernizes Vim by enhancing its features and improving plugin support.
@@RamPageMMA Bro its not totally different thing no way 10 years is noob.
@@GIGADEV690but if you watch the video, you can see he really doesn't know some basic command and I was wondering why he was using VIM for 10 years.
Going to keep commenting on these videos that are more teaching/tutorial based saying that I love this style of content
I absolutely agree
100 hundred percent (also commenting for the algorithm)
I live for this content 🥲🤩! I will also kickstart!
The best thing about this video was that guy's reactions and mistypes, absolutely relatable.
100%
This just shows you how good of a mentor Prime is, this dude was all over the place and Prime just keeps his cool and walks him through with clarity. It's a good example for me as I'm coming up on 3 years of experience and mentoring fresh engineers
Time Stamps
03:40 - Kick Start
04:20 - Ripgrep
05:20 - Copy init.lua
08:00 - Start init.lua walkthrough
09:00 - General vim Config Basics, Options, & horizontal jumps
12:36 - Vim Clipboard vs System Clipboard
18:30 - How to look up vim command with :h 'insert-command-name-here'
20:00 - Real Customization starts here
23:00 - Custom keymaps
24:00 - Execute custom functions from keymaps example
26:00 - Diagnostic keymaps, ie jump to the first error in a file
29:00 - Window Commands/splits
31:45 - Lazy Deps/Teasing apart init.lua for maintainability
39:30 - Quick look at Telescope
40:00 - Crtl ^ = Chefs Kiss, truly
43:00 - Vertical Jumps
44:00 - LSP Config/Mason Overview
47:00 - Reference commands, gr, cnext, quick fix, file and reference finding, generally a lot of searching
55:00 - Telescope trouble shooting
1:01:00 - Prime Drives, Undo tree, vim simplicity, lua,
1:03:00 - More Telescope configuration
1:04:15 - Lua Alias for type info
1:05:00 - Exploring types further
1:05:45 - Harpoon
1:06:45 - Top 5, how to get rolling with vim.
1:08:00 - Why switch to vim over anything else, for you by you
I love how everyone was SCREAMING FOR TMUX when he said he wanted terminal on the bottom 😂
timestamp?
@@qwerasdfhjkio Literally 2:00 minutesin
2:31
@@eyesight2073 you liar.
If terminal is the only thing, he can simply do horizontal split and enter the terminal mode there.
I only configured two keybindings: one to enter terminal mode, another one is i map Esc key in t mode (terminal mode) to exit terminal mode without closing the terminal.
It is pretty sweet to because you can navigate the terminal using nvim keybindings (hjkl), yank parts of the terminal including outputs, commands, your machine name, basically every text that you can see in the terminal.
I know prime hates pair programming but this needs to be a series.... like
go programmer learns vim from prime
typescript programmer learns vim
nextjs developer learns vim etc
nextjs developer..? Oh dear God😂
@@chizidotdev I'm a Tailwindcss dev
Yes. Pair programming is _the_ biggest accelerant to a person's career early on imo. Provides an invaluable experience.
@@chizidotdev it would be really funny prime setting up keymaps for them.
Css dev? Heh k
Love the tutorial type things. Thanks Mr. Vimeagen
Many people don't know the fact that windows terminal has tmux like features. u can split panes vertically, horizontally and can also resize em and close. Check the commands on the command pallette of WT. alt+shift+ is vertical split and alt+shift+ - is horizontal split. Hold alt and arrow keys to change panes. Ctrl+shift+w to close
That's true and you can also change the keybindings. However, as far as I know (as a tmux-beginner), tmux has many more features than just splitting, e.g. multiple sessions with the possibility of detaching, renaming of windows, better navigation between panes/windows, tmux-internal copy buffer. In addition to all that you can further extend tmux with plugins and themes.
I believe mac os terminal can also split panes
yeah, but it requires you to install windows
@@AntilocapraLatinamericana thats why he said `windows terminal`
Thank you for saving this segment of your stream. Couldn’t follow along at work when it happened live
This video is a great reminder that not all people are easy to teach. This guy has 10 years of experience with vim and he is still stumbling around on Neovim worse than I did when I started learning it. That's fine but he is completely taking for granted how digestible Prime is making neovim feel like. Neovim is hard to jump into and Prime made me feel like I was more than capable of learning it because I am nowhere as scattered as this guy is and if he can do it, I certainly can. Thank you Prime, more content like this would be appreciate it. If you need another noob to teach Neovim to, I can be that guy :P
50:40 "it's just another buffer, it's okay" 😭😭
Btw that's legit a thing for me. If my files etc are displayed in just another buffer I do feel more okay
Gold! I like you speaking in a more human tempo than on The Primeagen channel. (I'm old) Thanks!
thank you for uploading the vod, great stuff!
by the title, finally something i might be able to understand from prime
Ah, and here i am clicking at the video and realizing that "noob" is called someone who used Vim for 10 years. Clickbait title
the title says teaching neovim, not vim
I mean I've used vin for a week and I know a shit ton more than him so I think he really is a noob
@d30x58 you either didn't watch the video or have an attention span of a fruit fly
@@АлексейСтах-з3н Seconded. I think it's the former.
@@АлексейСтах-з3н He's not wrong, he is a noob at neovim which is what the title says. You can see him asking prime a lot of questions about the config and plugin commands. No need to insult the guy, he's right.
I love picking up all the little tricks your dropng (ctl+^, [d ]d ) thanks prime!
ctrl+p or p was what I was looking all along... and the rest of the telescope stuff really. It's a must when you're from vscode land.
primeagen got me into nvim and now I can't stop tweaking all the little things that make me really enjoy my editing experience. And still there's always so much more to learn. Loving it!
WTF?? Why did I get goosebumps when Anthony says Elixir a couple of times in the 46th minutes!!
the hairs on my arms are tingling LOL!
As a noob myself, I thoroughly enjoyed this video.
I know you're not a fan of pair programming but I'd love to see more videos like this.
You and Anthony could do a "vim noob to power user" series lol
I just started my journey into neovim with kickstarter this week. And this video just made it so much more clear. I WOULD PAY YOU TO TUTOR ME
I did not know that semicolon and comma repeated the find character forward and backward. You really learn something new every time you watch someone else using Vim/Neovim.
one of the things surprised me is that neovim is actually fully cross platform with windows. So if he uses windows, he can use Nvy as a neovim gui renderer with neovim. And use neovim as if he were in a unix system. Except of course the command line will be powershell. But everything so far works great in my case. Lsp, telescope, completions, etc. Moreover, the configurations are identical if you use a linux system, so it's completely portable too.
I use Linux on my work pc, but sometimes I develop a little bit on my personal pc, which have windows installed on it. So in my case this saves me a huge deal of going through wsl and stuff.
You can run nvim in git bash if necessary too, or WSL even
I've used both powershell/wsl setup wsl feels more performant, in combo with tmux/zellij and many other cli apps that just work on linux
just get a better terminal and run WSL, problem solved
Thanks for mentioning trouble by Folke. Just made my experience better!
THIS IS WHY I LOVE SUPPORTING YOU PRIME! Thank you thank you thank you!!!!!!!!
Best cross-over in a best topic!
I was hoping you/Flip put that stream part on youtube, this is a great resource
I am gonna watch this entire thing. Now it resonates even more withme because I finally got myself vimmotions for VSC after over a year. Not quite ready to take the Vim pill, though I have never really been a VSC worshipper nor "good" mouse user imo. I do like using my keyboard.
Please do more of this stuff. Really helpful.
This vid really get me to reconfigured my stuffs more to my preferences.
One thing I won't change for now is from Packer to Lazy cuz I'm kinda lazy (no pun intended)
Also omg ctrl + ^ is very eye-opening.
i actually learned a lot from this, thanks anthony!
I'm glad the guy was able to just paste the entire contents of the kickstart init file with no issue. I can't get it to work at all and am having to copy and paste in much smaller chunks for no apparent reason, and nvim keeps adding the "--" to the start of all lines after the initial line with "--", so that's just great...
Thank you prime! Loving these educational videos.
16:43 Seeing trailing white space is pretty useful
Two of my favorite youtubers coming together for my favorite IDE.
you can do line spacing in the windows terminal in settings -> default profile (or any profile) -> appearance
5:38 I think he was actually pasting INTO the terminal instead of pasting from the vim "+ register. That might be why he got that popup. Unless yank32 has the permission dialog by default.
Thank you, it was very helpful. Now I can easily move my vimrc to lua
This is the crossover episode I didn't want, but needed
I love the power of Vim/NVim and the flexibility of it. I used it for years and after seeing your videos I kitted out a fairly capable nvim setup. However, the debugger configuration and UX is rough. Would love to see you configure that and interact with it. Videos out there about that only set it up and run it but don’t really debug anything which doesn’t highlight the problem with the flow.
Learning ‘,’ during ‘f/F’was handy as anything
28:44 Gaming? Never heard of the arrow keys. WAS-Dat you're talking about?
Literally prime content!
This video is actually amazing I was really confused about vim until now
Thanks 🙏✌️
Updated primeagen video on neovim and updated theo video on t3 stack drop on the same day. I'm in tutorial heaven rn
This is probably the best starter pack into using Vim, or more rather, Neovim
To me, pair programming is fun as long as the brains are
It's so funny that the green on the screen is getting captured and filtered at the start lmao
The thing people tend to mis I feel is that Neovim is a process. You don't go to the intimidating endgame right away. You use a base config until you notice small annoyences, try to fix em and get increasingly good at it and make increasingly bigger changes until you have your dream editor. You'll probably be slower than vscode in the beginning, but its just an investment.
Another thing is most people tend to clone someone's config and hoping to customize it from there. In my experience this is a horrible idea, because there will be a tons of custom keymaps, plugins, settings that you are not aware of and therefore, you will be lost.
I always suggest to have those people's config as a reference, but try to configure nvim yourself. that way you will know what is the available options, keymaps, plugins, how to do fixing if something breaks.
I love these type of contents, real walkthrough, a wel subscribe :D thank you the PrimeAgen
Ok yea harpoon is legit, I could have just come here for that, quick list, and a few other just hunting/reference tricks I was missing. Up'd my game thanks prime.
I recognized the Go Father voice and accent from far away liked the vid awesome work Primeagen, Thank you!!!
When I need a terminal in vim/neovim, I press C-z, do my stuff in the terminal, and get back using fg. Worked fine for me so far.
Hey Prime, you obviously don't need which-key. But based on this session, it's pretty apparent that the other person would benefit from it.
You only need to use whichkey if you clone someone else's config, e.g., when you use kickstart. When you configure your own setup, including the keymaps, then whichkey is nothing but a nuisance.
@@rezhaadriantanuharja3389 did you watch the full video?
Thanks. It was an awesome nvim journey.
I love anthonygg showing up on the vimeagan.
Arrow keys are mostly used for porn and gaming.
now that's an absolute banger
pair programming is as frustrating to watch as it is to practice lol
I've had a blast with some people, but others are like a motor that shuts off at random and they refuse to take a break
I've played Doom using hjkl instead of wasd... on a dvorak keyboard: I couldn't use my mouse. It was pure hell but in my heart, I won something. Anyone should study the space-cadet keyboard: the arrow keys were there!
what an amazing and helpful video , Thank you for sharing this video with us
Thanks for mentioning Trouble. Made my experience better!
9:39 literally changed my leader away from comma after that rant
For line spacing
:set tabstop=2
Like this
12:31 I hate mouses too, relatable.
Built in trackball into the keyboard is the solve.
40:27 a caret is like what rabbits eat 😂😂😂
This video is gold. I am giving neovim once more a try for work. The only thing I am missing is the "change signature" in Golang and I would be set. Any tips?
Maybe a workflow how to do that refactor using quicklist?
Finally! After 10 years of using vim i can learn how to use it
1:10 Wow, dude got hard real fast.
man this is gonna be awesome
as soon as he turned his line numbers off, I was like damn prime's going to have a hard time giving instructions.. then the rest of the video "no go one line lower, no you've gone to far, one up, wait no, go to the one that says x"...
As someone who is learning nvim on Windows myself I've found its best to make your environment as linux like as possible. I'm in between using chocolatey as a native package manager for windows while i code or just using WSL (wsl uses a LOT of ram due to virtualization but gives me a proper linux terminal). Also why is it so easy to fall for vim? I've been on windows all my life, I haven't touched DOS since the 90s and my terminal usage is limited yet the simplistic nature of doing all my work on a big blank canvas and zero distractions makes me happy.
have you tried scoop? when i had to use windows it was my "package manager" of choice
it's not perfect by any means but i found it working better than choco for unix-y programs
@@ismbks i haven't tried it no but thank you, ill look at it
@@adaniel2929 i use winget, completely native to windows and theres nothing ive found that it doesnt have a package for so far, its very nice
And once you use a lot you're trapped. The key bindings become such fine muscle memory that using any other editor quickly leads to confusion
@@demolazer I'm learning them slowly but hjkl and plenty of others are already filling my head. Not sure about trapped, however, since even if I'm in vs code i feel like I'm improving my ability to focus on typing.
Actually getting flashbacks to when I was a kid in the 90s, playing around on my mom's word processor.
My man here needs to breathe and listen 😭
This feels like an episode of Lyle Forever.
Pure gold this video
I have bound Ctrl+W to save/write because sometimes I feel like that typing out :w manually is too slow/anoying
I also have bound Ctrl+Q to quit for the same reason.
So I have bound splitting to Ctrl+C + S (horizontal) and Ctrl+C + V (vertical)
Gracias senior, this helps a lot..
no, I want to use nvim to use an opinionated experience, not my own. If I wanted my own experience, I would code it myself.
I don’t know why but this guy really bugged me lol “you know what I mean?”😅
I finally installed neovim and I can just say decades of gaming have ruined me (at least when it comes to the intended "arrow" keys)
whenever I wanna go up my body just automatically moves the middle finger 1 key up, making me press instead of
same with sidewards movements being ingrained to be done with pointer and ring finger, making me press instead of 🤣
Would be cool if you had a highlights timestamps. I'm already decent with Vim and just want to see what more I can learn.
This is awesome
Classic prime telling git gud 38:57
What a legend
5:50 Prime interrupting him all the time, but I'm sure he wanted to complain about `nopaste`, although I can't understand why, as he said he's been using Vim for _many_ years.
hmmm i had been using vim for 3 days and yep relatable
That's no noob bruh
Amazing content
Anthony is a God.
Dude makes top tier projects
@noiseless-pg2uw iconic
He’s so mid not technical at all his projects are perfect for web developers who wanna do backend
@@gavin_wang backend comes under web development right?
1:00:01 He's missing a 3rd argument for `desc`, that's why his gd wasn't working
this is awesome, really.
Love it! Thanks good Vid
Exflix prime is cooking
YES! TMUX FOR THE WIN!
close windows with c NOT :q please
he was doing `ci:` instead of `ci"` the whole time
I tried neovim for my job worflow and at first I couldn't addapt to it, then when I changed my laptop I gave it another chance, and now I am using nvim finally. I also tried the vim plugin for vscode but for me it doesn't worked as expected
Are we calling GG noob now 😂
started to watch and tried to replicate what they are doing, backsapce won't work without ctrl. I gave up and went back to the superior VS CODE