Teaching Neovim From Scratch To A Noob
HTML-код
- Опубликовано: 13 апр 2024
- LIVE ON TWITCH: / theprimeagen
Become a backend engineer. Its my favorite site
boot.dev/?promo=PRIMEYT
This is also the best way to support me is to support yourself becoming a better backend engineer.
Get in on Discord: / discord
Get in on Twitter: / theprimeagen
Got Something For Me to Read or Watch??:
/ theprimeagenreact - Наука
"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%
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
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
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
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
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
Thank you for saving this segment of your stream. Couldn’t follow along at work when it happened live
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.
thank you for uploading the vod, great stuff!
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!
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
Ah, and here i am clicking at the video and realizing that "noob" is called someone who used Vim for 10 years. Clickbait title
THIS IS WHY I LOVE SUPPORTING YOU PRIME! Thank you thank you thank you!!!!!!!!
Gold! I like you speaking in a more human tempo than on The Primeagen channel. (I'm old) Thanks!
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
Love the tutorial type things. Thanks Mr. Vimeagen
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!
I recognized the Go Father voice and accent from far away liked the vid awesome work Primeagen, Thank you!!!
Thank you prime! Loving these educational videos.
Thanks for mentioning trouble by Folke. Just made my experience better!
Please do more of this stuff. Really helpful.
Thanks for mentioning Trouble. Made my experience better!
by the title, finally something i might be able to understand from prime
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.
I was hoping you/Flip put that stream part on youtube, this is a great resource
what an amazing and helpful video , Thank you for sharing this video with us
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.
Best cross-over in a best topic!
Learning ‘,’ during ‘f/F’was handy as anything
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.
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 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.
It's so funny that the green on the screen is getting captured and filtered at the start lmao
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
man this is gonna be awesome
you can do line spacing in the windows terminal in settings -> default profile (or any profile) -> appearance
Thanks. It was an awesome nvim journey.
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?
This is the crossover episode I didn't want, but needed
Two of my favorite youtubers coming together for my favorite IDE.
Literally prime content!
now that's an absolute banger
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
That's no noob bruh
Love it! Thanks good Vid
Amazing content
16:43 Seeing trailing white space is pretty useful
This is awesome
Pure gold this video
Are we calling GG noob now 😂
Gracias senior, this helps a lot..
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.
this is awesome, really.
What did you do to you old setup, with VIM and before kernel 6?
Did you forget the disclaimer about profiles and sessions? Amateur mistake.
And which widget kit do you guys use? KDE or Gnome?
And good-old X server or MIR/Wayland?
I love anthonygg showing up on the vimeagan.
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.
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"...
Who is anthony???
This might be interesting!
Nice collab
What a legend
Updated primeagen video on neovim and updated theo video on t3 stack drop on the same day. I'm in tutorial heaven rn
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)
hell yeah Anthony GG
Exflix prime is cooking
Arrow keys are mostly used for porn and gaming.
I'm nvim noob is there any solution..my problem is that i while i was working with react-router-dom, why its not suggesting like useNavigate when i already had installed router package but work fine with react query..
Hey Prime, quick question. Any tips on what to use instead of tsserver?
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.
How does he move the viewport AND move the cursor along with the screen? Every time I look this up people say you need to set a keybind to do both move line and move viewport at the same time but he’s doing it on a “fresh” install
In case anyone else see this and wants this too i figured it out:
you set "vim.opt.scrolloff = 1" and this will keep that many lines above and below the cursor. you can set it to something really high and always have the cursor centered on the screen.
Finally! After 10 years of using vim i can learn how to use it
Love it
ironic but I saw a video from AnthonyGG talking why he switched from neovim to vscode?
Cellular automation is insane 😂😂😂
9:39 literally changed my leader away from comma after that rant
Wasn’t the title originally “Teaching neovim to a noob”??
12:31 I hate mouses too, relatable.
Built in trackball into the keyboard is the solve.
Holy Shit dap is amazing
i thought something was wrong with my configuration when my gopls was running very slow.
I don’t know why but this guy really bugged me lol “you know what I mean?”😅
that voice sounds familiar :D
Classic prime telling git gud 38:57
hmmm i had been using vim for 3 days and yep relatable
LazyVim has a terminal you can show and hide and i still find myself using a seperate terminal window/tab
I prefer separate tab. Just shift-arrow to switch between. So :wa shift-right up-enter has become like breathing.
Please go up to setting up NeoVim up to professional Python coding !
Anyone know how he maps ctrl+f to fzf? or is it something else?
he switched to vscode again
For line spacing
:set tabstop=2
Like this
how can I connect to a ssh with nvim like vscode?
To me, pair programming is fun as long as the brains are
New lesson learnt C-^
>Noob
>Used vim for 10 years
1:00:01 He's missing a 3rd argument for `desc`, that's why his gd wasn't working
No way you called Anthony a noob!!
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!
made a new nvim config with minimal plugins (50). fast and clean