Тёмный

Neovim Config - Part 1 - Lazy Vim 

TheVimeagen
Подписаться 71 тыс.
Просмотров 189 тыс.
50% 1

LIVE ON TWITCH: / theprimeagen
Become a backend engineer. Its my favorite site
boot.dev/?prom...
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

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 93   
@devlinbowman5251
@devlinbowman5251 9 месяцев назад
As a Prime and Neovim enjoyer this is a good day.
@TDOLLA
@TDOLLA 7 месяцев назад
as an Amazon Prime member and Neo from The Matrix enjoyer I am leaving a comment of absolutely no value, total waste of time writing it and for anyone reading it. I just don’t get a lot of opportunities to let people know I have Amazon Prime and its a flex
@te_quemaste
@te_quemaste 7 месяцев назад
@@TDOLLA Clearly, your opinion will be better than the above's fellow.
@dromedda6810
@dromedda6810 9 месяцев назад
this made my morning, seeing prime finally struggle with something i could probably do in my sleep FEELS GREAT jokes aside. its great seeing the process of figuring it out
@TheDarkOneSC2
@TheDarkOneSC2 9 месяцев назад
God damn Prime I just finished my first personal config yesterday also with lazy and It took days and you just come up here and figured out stuff in 5 min. Some of which I didn't realized even after going through the docs top to bottom 5 times
@TheVimeagen
@TheVimeagen 9 месяцев назад
i already have a pretty good idea what is happening in my head AND part 2 where i reorganize my lazy vim gets REALLY good. its going to be a nice repo :)
@codedusting
@codedusting 9 месяцев назад
That keyboard 💀💀💀
@maxwebstudio
@maxwebstudio 9 месяцев назад
The once a year rewriting of Prime's Vim config. I was waiting for it more than Christmas 😅
@oleh6738
@oleh6738 8 месяцев назад
--[==[ Hey Prime! If you want too comment-out lua code that already contains a multiline comment like --[[ one line second line ]] you can use equal signs in between the brackets like so --[=[ hello --[[inner comment]] world ]] ]==]
@brunomello7499
@brunomello7499 8 месяцев назад
1:04:08 often enough so that doing this with pure netrw is in fact a pain in the ass refactoring files around sucks with netrw. I myself use ONLY harpoon, lsp and telescope for file navigation, but when it comes to renaming files, moving them around, deleting or creating it completely sucks to do it in netrw hence why people usually go for something like ranger, oil, etc
@sinasalahshour
@sinasalahshour 6 месяцев назад
5:06 why not use os package manager? EDIT: mine is pacman btw RE EDIT: if you didn't notice, i use arch btw
@theicelandicfamily
@theicelandicfamily 8 месяцев назад
Watching Prime work in VIM makes me want to quit the IT field ...
@FekuEntertainmentLtd
@FekuEntertainmentLtd 8 месяцев назад
Prime's craziness makes it more worthwhile to watch. 19:12 😂😂 "Oooo.."
@andrewcrook6444
@andrewcrook6444 9 месяцев назад
Packer also supports luarocks which is handy for using Lua packages (as opposed to neovim packages) when scripting neovim. It installs luarocks to use neovims builtin lua support.
@ikcikor3670
@ikcikor3670 3 месяца назад
>Neovim config from scratch >Copies 10 pages of old configs why......
@sutirk
@sutirk 9 месяцев назад
I'll wait for part 2, but i think im sticking with packer for a while, it really doesn't seems to make much difference which package manager to use. But i might probably snatch a new plugin or two, who knows And I'm definitely not ready yet to raw dog LSP, I'll probably stick to lsp-zero for this year Once again prime, thanks for doing these streams/tutorials, in 6 months i went from having a barely configured vscode and being semi-comfortable with basic vim keys, to adapting your config into my own and making neovim the perfect text editor for all my daily needs, i haven't opened vscode in months and im more than 10x more efficient in neovim than i ever was in any Microsoft product
@wi1h
@wi1h 9 месяцев назад
the only benefit to switching to lazy.nvim from something like packer/vundle is improved startup times due to lazy loading. you have to configure it to do so though, like only loading certain plugins on certain filetypes, only loading things like an lsp on bufenter, etc. if you just do the basic config, there isn't that much to gain other than organization and stuff
@ivanjermakov
@ivanjermakov 9 месяцев назад
I was blown away by lazy startup time improvement, from 500ms to 50ms without any manual optimizations
@lolotronop
@lolotronop 9 месяцев назад
​@@wi1hEh, you can probably set most of your plugins to VeryLazy and call it a day. Now your nvim starts instantly and if something doesn't work just remove the lazy bit from it. That's a lazy way to do it
@sidaz22
@sidaz22 9 месяцев назад
I use vscode just because of copilot and copilot chat and copilot in their cli ...if there is something like this in vim I'll gladly make the move completely
@sidaz22
@sidaz22 9 месяцев назад
Something like what cursor editor is doing
@ulissesrosa8969
@ulissesrosa8969 8 месяцев назад
which model is this keyboard ???
@Neo-cn9yt
@Neo-cn9yt 7 месяцев назад
looks like Kinesis Advantage360
@igorvlasiuk6432
@igorvlasiuk6432 9 месяцев назад
Thanks for sharing. Went thru this together with you on twitch stream. some moments was not clear during these streams. So now it usefully to revisit on RU-vid now.
@TheVimeagen
@TheVimeagen 9 месяцев назад
the rest will be up over the next couple days
@ak2f
@ak2f 9 месяцев назад
The only thing why I care and use lazy as package manager: it has the plugins lock file, which makes rolling back plugins just so easy, and you can restore the exact configuration in case some plugin update breaks stuff for you, or you want use the exact configuration on another machine.
@ZombieLincoln666
@ZombieLincoln666 7 месяцев назад
I’m pretty sure you can pin plugins in Plug too
@ak2f
@ak2f 6 месяцев назад
@@ZombieLincoln666 that's not the same, you don't have to version pin the exact version of the plug-in but more a rule in which stability (majority level) you want to follow the updates of that specific plugin. The lock file is then updated on each update you trigger and gives you the possibility to restore your exact configuration if something goes wrong if you version control it.
@ZombieLincoln666
@ZombieLincoln666 6 месяцев назад
@@ak2f oh ok gotcha. That makes it easier. But still just pointing out that you can do similar with vim-plug with a bit more effort.
@ak2f
@ak2f 6 месяцев назад
@@ZombieLincoln666 fair point
@sirrobinofloxley7156
@sirrobinofloxley7156 8 месяцев назад
Don't worry, I'm not jealous... Not even a bit *grinds teeth menacingly, whilst crying but smiling*
@bobkoss280
@bobkoss280 2 месяца назад
Welcome to Costco... That's not at all annoying.
@JeremyKolassa
@JeremyKolassa 9 месяцев назад
The funniest thing about this video is that I'm reading "Effective C" by Robert C. Seacord, and then a Russian calls me...
@fmailscammer
@fmailscammer 9 месяцев назад
HOW MANY CHANNELS DOES THIS GUY HAVE?
@FekuEntertainmentLtd
@FekuEntertainmentLtd 8 месяцев назад
Ikr, I've been wondering the same. ThePrimeagen, ThePrimeTime, TheVimaegen. how many more are there don't know..
@fmailscammer
@fmailscammer 8 месяцев назад
@@FekuEntertainmentLtd Legend has it, every time a programmer drops out of college, prime starts a new channel
@thepython10110
@thepython10110 2 месяца назад
Of course he play(s|ed) Starcraft... Now I'm wondering what would happen if I remapped all of Starcraft's bindings to be more Vim-like. d (or x?) for attack, o (i? a?) for build... I don't know. It would be interesting though.
@nightshade427
@nightshade427 7 месяцев назад
one major thing that helix does that nvim does not is that actions highlight the text that will be effected before action happens so I can visually confirm action before it happens, wish nvim had this
@nodidog
@nodidog 6 месяцев назад
Use visual mode if you want visual confirmation - for example, instead of typing yiw to yank a word, type viwy. Honestly though, you'll intuitively know what the commands do pretty quickly
@rbgtk
@rbgtk 9 месяцев назад
Dang! I just did mine literally an hour ago... Ah shit, here we go again
@keertirajmalik8084
@keertirajmalik8084 8 месяцев назад
Did anyone created repo out of this setup that i can use ?
@thederpykrafter
@thederpykrafter 6 месяцев назад
"That's all I'm going to say" continues to say more lol
@bryantle5387
@bryantle5387 2 месяца назад
How do you get the preview text to appear? As you're typing I see recommended previews similar to VSCode. Is this from an lsp? Or snippets?
@stugeh
@stugeh 7 месяцев назад
Is he not using arch? Why build neovim from source? 🤔
@jearsh
@jearsh 9 месяцев назад
`:Trouble quickfix` i'm screaming over here 23:50 stop toggling -_-' (ps. idk if this will actually work)
@Ajay-pj2qr
@Ajay-pj2qr 9 месяцев назад
Is there a GitHub repo for the code shown? Can anyone share the primeagean git repo for the neovim config
@TheVimeagen
@TheVimeagen 9 месяцев назад
not yet, will have a repo shortly
@clingyking2774
@clingyking2774 5 месяцев назад
Anyone with links to his new config repo, i'd appreciate not having to redo mine.
@augustmarowski8300
@augustmarowski8300 9 месяцев назад
Been waiting for this :) did you put this new config into a public repo? I’m trying to learn vim and is currently setting up my own environment with lazy
@TheVimeagen
@TheVimeagen 9 месяцев назад
i have been taking it out for a bit making sure i like it i have a few more things i want to add, going to get those in before i release it fully as its own github
@augustmarowski8300
@augustmarowski8300 9 месяцев назад
Ah I see, I’ll be on the lookout for that! Btw appreciering all the great content, keep it up :)
@_idiot
@_idiot 9 месяцев назад
The worst part about the neovim ecosystem right now is still the LSP + completion stuff. What a shitshow to configure. Another thing with lazy.vim is that there is so much work that folke did with LazyVim, it just makes sense to stick with that one, I believe -- EXCEPT for the fact that the project seems to have already stalled a bit, which is a good reason to just roll your own config even if LazyVim has a lot of big hitters working on it.
@offlercrocgod
@offlercrocgod 8 месяцев назад
Folke has been on vacation for 3 months now and nothing is being merged or worked on. It feels like LazyVim has been abandoned which is really unfortunate. He really needs to add some collaborators.
@ZombieLincoln666
@ZombieLincoln666 7 месяцев назад
setting up completion was so much more annoying before LSP though. There were so many options
@freekaleek12100
@freekaleek12100 7 месяцев назад
Any news on that repo, Prime?
@Lecluyse2000
@Lecluyse2000 5 месяцев назад
I didnt use a file tree for awhile but then i started using telescope file tree extension, since its integrated within telescope i figured i might as well
@comically_large_chungus
@comically_large_chungus 9 месяцев назад
install a nerd font prime
@aucusticguitar8069
@aucusticguitar8069 6 месяцев назад
anybody know what he uses to log his keystrokes in OBS?
@jonahturner2969
@jonahturner2969 9 месяцев назад
I've been waiting for this, hell yeah
@vuongtran5799
@vuongtran5799 8 месяцев назад
new keyboard again, at least you changed 3 since I know you 😂
@centrology
@centrology 3 месяца назад
LMAO the compressed air with no regard to audio of it.
@thederpykrafter
@thederpykrafter 6 месяцев назад
go to 19:14 at 0.5x or slower and thank me later lmao
@pictureus
@pictureus 8 месяцев назад
Started using neovim full time thanks to TheVimeagen. Though I would be very happy if neovim didn't remove all new lines at end of files our project at work has :(
@ZombieLincoln666
@ZombieLincoln666 7 месяцев назад
I’m sure you can fix that. I believe it has to do with unix vs ms-dos formatting. something like ‘set ff = dos’
@lileightright
@lileightright 7 месяцев назад
anyone know what is his iterm2 colorscheme???
@veerpratap1177
@veerpratap1177 4 месяца назад
please do make a video on debugging in nvim .
@mariusz7238
@mariusz7238 7 месяцев назад
Am I the only one who thinks that knowing the keyboard shortcuts in VSCode allows you to do editing almost as quickly as in Vim?
@cosname
@cosname 6 месяцев назад
as a beginner, yes - but the rest u will just click through
@mariusz7238
@mariusz7238 6 месяцев назад
@@cosname Wydm? I use nvim for about 3 months now constantly. Learned the best shortcuts and tips from theprimeagen and others, using most commonly used addons and I can say editing can be a bit faster in nvim but because of how clunky of an editor it is and it doesn't matter how much we use an editor we sometimes make mistakes and clicking ANY button in nvim you didn't want to click means big mistake and few more undos or a bit of realizing wtf u did makes it so that it's not really faster. In the other corner we have vscode which doesn't have my most commonly used in nvim jumping between words, f or / which i really love in nvim it has out of the box quality of life type of shit and really if you've used it for few years like me it really has some depth in it and really cool shortcuts that are ACTUALLY INTUITIVE unlike in nvim. Oh and ctrl+d and multiple cursors are a lot of times much faster and intuitive than any sophisticated regex in nvim and much much more. (actually I saw a lot of blogs crying about how ctrl+d and multiple cursors are useless and nvim searching is better but after fiddling with multiple examples and best practices of nvim "gurus" I still think ctrl+d and multicursors are better)
@aloewishus
@aloewishus 2 месяца назад
lol. one hour setup
@parkerrex
@parkerrex 4 месяца назад
Oh hell ya let the big dog eat
@AliRaza-wq6nh
@AliRaza-wq6nh 6 месяцев назад
how did you do on 5:38 i.e selection in terminal via keyboard?
@anthonydesouza9983
@anthonydesouza9983 6 месяцев назад
The terminal is going through tmux. There’s a key shortcut to go into selection mode
@victoroliveira9397
@victoroliveira9397 29 дней назад
m
@EnriqueDominguezProfile
@EnriqueDominguezProfile 8 месяцев назад
Looks like he had some Trouble.
@roomultj318
@roomultj318 24 дня назад
chukhan
@yash1152
@yash1152 5 месяцев назад
6:36 "_screenkey"_
@shadowpwls3
@shadowpwls3 2 месяца назад
that's a weird looking keyboard. but hey, no accounting for taste.
@jhossepmartinez1771
@jhossepmartinez1771 9 месяцев назад
why does his neovim look so dull
@TheVimeagen
@TheVimeagen 9 месяцев назад
i don't like fancy neovims
@arshiagholami7611
@arshiagholami7611 9 месяцев назад
@@TheVimeagen where's the wifu background at? sus
@tomaszgalkowski8701
@tomaszgalkowski8701 8 месяцев назад
oil.nvim is so gold, though, because it's just a text buffer.
@Tobsson
@Tobsson 8 месяцев назад
Who makes 7 files at the time? Any java oop master for that beautiful this.thing.does.something.magical.later().
Далее
Teaching Neovim From Scratch To A Noob
1:12:55
Просмотров 205 тыс.
#慧慧很努力#家庭搞笑#生活#亲子#记录
00:11
I Went To DEFCON!
16:25
Просмотров 244 тыс.
NVChad - Turn Neovim Into An Awesome IDE
14:48
Просмотров 264 тыс.
First Realtime App With The Golang Platform
1:10:49
Просмотров 121 тыс.
0 to LSP : Neovim RC From Scratch
30:47
Просмотров 1,3 млн
Interview with Sr. C Dev | Prime Reacts
6:52
Просмотров 373 тыс.
The Holy Grail of Neovim Note Taking
14:38
Просмотров 338 тыс.
The Only Video You Need to Get Started with Neovim
34:00
Nix and NeoVim
13:38
Просмотров 142 тыс.
Trying Obsidian For The First Time
1:23:37
Просмотров 217 тыс.
I Rewrote My Entire Neovim Config...
11:09
Просмотров 45 тыс.