Get your *FREE 4-Day Rust training* : letsgetrusty.com/bootcamp
@Adam-om9si2 ай бұрын
Crazy how i started nvim 3 weeks ago and you came out with this vid. Thanks so much.
@Duckless137Ай бұрын
I started TWO DAYS BEFORE he put this out!
@fabricehategekimana53502 ай бұрын
Vim/Neovim mention ! Let's go !!!
@thingsiplay2 ай бұрын
Go mentioned, let's rust !!!
@ntippy2 ай бұрын
0:33 "keyboard exclusively as God intended" for the win
@yurari_san13 күн бұрын
I was trying to build a neovim environment to do Rust coding and you were very helpful! Your videos were very easy to follow.
@marcelo558692 ай бұрын
7:50 "dap-ui my boi" ~Picollo to Gohan probably
@TheAlexgoodlife2 ай бұрын
More like bully maguire
@marcelo558692 ай бұрын
@@TheAlexgoodlife kzbin.info37chTU07B8A
@gekkoe8082 ай бұрын
Good stuff. Worth noting though that if you're doing this on Linux you'll want to change the line in plugins/init.lua from local liblldb_path = extension_path.. "lldb/lib/liblldb.dylib" to local liblldb_path = extension_path .. "lldb/lib/liblldb.so" or your debugger won't work. (Also not sure why youtube is trying to make a link out of the previous line, but ignore that.)
@slowdownbot76172 ай бұрын
On windows would it work with .lib? I get the error: ...adapter/codelldb exited with code 101 Couldn't connect to 127.0.0.1 :${port}: ECONNREFUSED And it does not work.
@gekkoe8082 ай бұрын
@@slowdownbot7617 on windows you want the following two changes: codelldb_path = extension_path .. "adapter\\codelldb.exe" liblldb_path = extension_path .. "lldb\\bin\\liblldb.dll"
@GabonidazАй бұрын
@@slowdownbot7617 did you manage to make debug work on windows? i'm trying but i'm getting the same error ECONNREFUSED
@slowdownbot7617Ай бұрын
@@Gabonidazyes, you need to change the paths. I used the following: \\extensions\\ adapter\\codelldb.exe lldb\\bin\\lldb.lib
@camorimdАй бұрын
@@slowdownbot7617 Same here :( Did you manage to make it work?
@kazeembalogun718215 күн бұрын
To enable VS Code-like inlay hints with " + i", add the follwing to the main init.lua file- vim.keymap.set("n", 'i', function() vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled({0}),{0}) end)
@weiminghu235718 күн бұрын
Thank you very much! I'm so happy to see nvim has developed so much!
@hadialkmishe14382 ай бұрын
didnt mental outlaw just make the same video
@Peshyy2 ай бұрын
came for this
@18o42 ай бұрын
exactly
@alomac89762 ай бұрын
he did
@pluto84042 ай бұрын
darn. My 2 favorite people. Guess they have been compromised by the cia. They are lizard people now.
@vikaspoddar0012 ай бұрын
But his video has more info for beginners i guess
@RootsterAnon2 ай бұрын
I adore AstroNvim and is my forst choice for writing code.
@daniel292632 ай бұрын
Same, I can't be bothered learning the nvim api and lua. Astro is a great choice for people like me.
@Pjiwm2 ай бұрын
Exactly. Got it from boilerplate.
@Mr.BinarySniper2 ай бұрын
Same here.
@codetothemoon2 ай бұрын
as God intended! great video 😎
@mazinayman40042 ай бұрын
You can paste without entering insert mode. Just press p
@letsgetrusty2 ай бұрын
Yeah you can tell I'm new to vim haha
@mcdermottpa2 ай бұрын
Great video. It helped me sort out a few issues in my config.
@cabeloDoPardal22 күн бұрын
finally I got it working, Thank you very much.
@akshettrj2 ай бұрын
First we had mental outlaw and luke smith controversy. Now its gonna be mental outlaw and lets get rusty controversy
@letsgetrusty2 ай бұрын
Bring it
@ojochegbe_2 ай бұрын
Yo I swore never to use nvim but this video just made me change my mind 😂❤
@BohdanTrotsenko2 ай бұрын
This is golden.
@GameDSS29 күн бұрын
Hi quick question. I don't have any configs when I run the debugger so I end up with an error. Can you explain me how to add configs to the dap?
@cristhiamtovar90032 ай бұрын
Cool! Now I’m getting more motivated in learning Rust
@michaelmueller96352 ай бұрын
Now letsgetrusty is officially part of the cool-kid-gang 🎉🥳🎉
@rey14542 ай бұрын
So straight forward that my eyes went cross.
@7369392 ай бұрын
Use Helix, vim-like editor that is written in Rust
@GoodmanWed2 ай бұрын
Thanks very useful video.
@Mawkler2 ай бұрын
9:32 Acschhhhhually the key is \ by default, but most people remap it to space
@stevanewald1062 ай бұрын
Acshhhhhually the key is set to space by default when using nvchad, which this video is.
@anon_y_mousse2 ай бұрын
In a vanilla setup, and I'll never understand why anyone changes it to space. I enjoy typing fast and having tab completions in insert mode, so \ is the better choice.
@valentinplechuc57102 ай бұрын
Great guide thanks for sharing.. I wonder if there is a way to show the inferred type of the variables, like the Vscode does in grey color or similar
@rudolfvaneulenstein9896Ай бұрын
just for clarification at 3:16: using rm -rf dir is immensely dangerous, anything that is deleted using this way is certifiably lost forever. best to just move to folder to somewhere else or directly into the trashbin.
@serialkiller87832 ай бұрын
i downloaded the initlua and mappings from github and replaced in my config. running dt works but dc doesnt
@MaazKhalid2 ай бұрын
there's a typo in his config on github, on line 16 of mappings.lua instead of being `"dc"` its `"dc>"` remove the `>` at the end
@l30n.marin3r0Ай бұрын
This is where people lose me. neovim has a plugin manager built it, why use mason? why install more and more and more and more software? The exact same reason I ran away from react, node, npm and all that crap and exactly the same reason I use vim or neovim over sublime, vscode or whatever else is out there. That being said, nice freaking video!
@jmanindahizouse28 күн бұрын
which macos terminal app do you use?
@tinajastyle2 ай бұрын
Bro this is 🔥🔥🔥
@frankjimenez94072 ай бұрын
Rust + Neovim = 👌
@benibachmann92742 ай бұрын
Thanks for the video! Can you set up cargo check or cargo clippy on save or on type?
@gabrielrmunoz2 ай бұрын
Hello! I ask from ignorance, sorry if anyone is offended, why would you want to use Neovim instead of an IDE like VS Code? Isn't it more complicated to work from a terminal, while with an IDE everything is faster and simpler?
@MrDujmanu2 ай бұрын
Depends what you mean by "everything is faster with an IDE", what are we measuring? Time to set up a working configuration? Regardless, my answer to your question is a rather subjective one. Pretty much depends what tool(s) you're most comfortable with. I've been using Vim for aprox 20 years and recently Neovim, I've touched Intellij products, MS Studio, Eclipse, Netbeans ... you get the gist, but I could never settle for any of them. I'm also coming from a sys admin background from back in the days, when I'd had to ssh into a machine and do my work there - V/im was 100% of the times my best friend. Granted, Vim has a steep learning curve, but once it gets into your fingertips there's no way back. The code editing gymnastics that's available in Vim has no match in any of the IDEs. Anyway, my point here is that a comparison between Vim and any IDEs is irelevant. Use whatever option you're most comfortable with.
@sighupcmd2 ай бұрын
I'd never call vs code IDE. Just an another text editor, like vim/emacs. Jetbrains products are IDEs
@michaelmueller96352 ай бұрын
Do Neovim and you understand your projects. This IS fast and simple.
@rasibn2 ай бұрын
neovim can use all the features of vscode and has keybinds that are easier to learn. If u have watched theprimagen code on stream, you can see how quickly he can move with a basic neovim setup.
@itsmenewbie032 ай бұрын
we use it to have the right to say "I use Neovim BTW"
@sdramare8642 ай бұрын
Should I have mustache for use NeoVim? Is it really mandatory?
@letsgetrusty2 ай бұрын
Yes.
@wilder640828 күн бұрын
AstroNvim sets up all this language support for Rust by just like one line call to their AstroCommunity packs. Because all these things should be done by default.
@geetajuyal71158 күн бұрын
What to do if rust-analyzer is unsupported in Mason? 😢
@theparthsinghАй бұрын
how can i get code actions to work in this ?
@thingsiplay2 ай бұрын
Vim is the Endgame.
@radutomy2 ай бұрын
Any plugin that imports missing references/crates at the top of the file automatically? Similarly to how IDEs do it.
@chuckocheret41152 ай бұрын
Worth mentioning is that this setup doesn't seem to work well with the standard MacOS Terminal program, which doesn't support features like true colors. I recommend wezterm, but other modern terminals should work as well.
@chuckocheret41152 ай бұрын
I forked the nvchad starter repo so that I can track my own changes in my fork (instead of just deleting the .git directory).
@bstech48032 ай бұрын
I also tried neovim in windows and it sucks. How to do proper configuration for windows? The issue I am having is it fails to load analyzer.
@nrosquistАй бұрын
run this in an administrator powershell: rustup component add rust-analyzer Then to test it's working run: rust-analyzer --version should fix issue with rust analyzer not being properly installed by Mason
@MarkusBurrer6 күн бұрын
Now do the same for Helix 👍
@meanmole32122 ай бұрын
Does refactoring work?
@zatochiSiberian2 ай бұрын
Thanks
@kaanbilgin82452 ай бұрын
saved me from 2 days of agony, kudos
@AhnafAbidFahim-h1v20 күн бұрын
At the end of the day, everyone wants a GUI, then why not install VSCode straight away?
@siduck_og2 ай бұрын
Nice :)
@Kiyuja2 ай бұрын
I cant wait for Microsoft to provide first party support for Rust in Visual Studio. I have to use Visual Studio Code and I'd love to use MSVS. I dont understand why it isnt implemented like C++ is when MS wants to use Rust more and more but hey....
@henryvaneyk37692 ай бұрын
IntelliJ is your friend. Dump Visual Studio.
@Kiyuja2 ай бұрын
@@henryvaneyk3769 I use IntelliJ when I do Java...which used to be on a daily and now only occurs once a year. AFAIK you either have to use a wonky plugin or pay money for Rust Rover to develop Rust using JetBrains and no thank you. I love developing C# using Visual Studio and I'd like that type of Linting and Debugging for Rust
@cryptonative2 ай бұрын
Learnt lifetimes, proc macros, memory ordering and still can exit neovim
@tom901ful2 ай бұрын
The ultimate Chad guide.
@fcolecumberri2 ай бұрын
I thought you would use zed.
@waynelau32562 ай бұрын
I think helix is not bad too
@난아스타2 ай бұрын
how to enable inlay-hint???
@psi4j2 ай бұрын
Looks like you're just one step away from REALLY throwing the mouse away: also throwing MacOS out the window and using Linux with a tiling window manager like a pro.
@thomb.901329 күн бұрын
theres tiling window managers for macos too AFAIK
@daephx2 ай бұрын
A bEaUtIfUl, ViSuAl DeBuGgEr! Neovim is my favorite editor, but the dap-ui plugin is far from my favorite interface. It's just the best available so far.
@kuqmua7552 ай бұрын
Why it's not Helix setup tutorial?
@letsgetrusty2 ай бұрын
Coming soon :)
@kristoferssolo2 ай бұрын
Harpoon mentioned
@xX_SushiRoll_Xx2 ай бұрын
8:15 why did you not explain where tf all that code came from. I dont want to have to type all of that out.
@nrosquistАй бұрын
there's a link
@anamoyeee2 ай бұрын
Hey, i don't know if that's the right place to ask but uh.. when i try to install nvchad on neovim windows it bluescreens (consistently) and when i try doing the same within windows subsystem for linux it just doesn't load nvchad. I also tried using 1 other config package other than nvchad but it finished installing with a bunch of errors reported and i just didn't trust this installation to be stable... Do you know of any solutions?
@rasibn2 ай бұрын
Hey I installed neovim from Winget on windows terminal and it works fine.
@anamoyeee2 ай бұрын
@@rasibn I installed neovim fine, just that when i do the nvchad install script it doesnt work and bluescreens for some reason, sorry, my bad i unspecified that... (i edited the comment now...)
@LostRunner02132 ай бұрын
i don't understand the point : if your are comfortable with vim/neovim keyboards so 3/4 of the features seem irrelevent to me the last recommandation 🤮 : LLM for programming (and most of the time) is garbage
@juanmacias59222 ай бұрын
nvim
@seneketh2 ай бұрын
What about RustRover? (srsly)
@SorinOltean772 ай бұрын
just a suggestion: suspend the microphone holder so it does not capture the sound of your keystrokes. I mean, keystrokes are fine but instead we hear a muffled sound like constantly hitting the desk with something and is annoying for those of us who use headphones.
@sergiuoanes46352 ай бұрын
or you just go with Helix.... and life is beautiful
@daniel292632 ай бұрын
I used Helix before nvim, not going back. But I might try it again in a couple of years and see what state it's in.
@rasibn2 ай бұрын
Use Helix and not be able to customize anything. Huge win!
@Nitiiii112 ай бұрын
If Helix had 2-3 features that I am missing, then imho it would be vastly superior to Neovim. Maybe some day.
@sergiuoanes46352 ай бұрын
@rasibn I customized a lot of things on my liking. I am pretty happy with the results.
@letsgetrusty2 ай бұрын
Making a video about that soon as well :)
@solmateusbraga2 ай бұрын
Kakoune >>>>>
@eriye922 ай бұрын
best video to convince ppl not to use neovim keke
@TenTypekMatus2 ай бұрын
Next video: Nix with Rust.
@oleksandrkovalov15432 ай бұрын
Lazyvim does all that automatically? It all comes with Lazyvim out of the box..
@frittex2 ай бұрын
reason why you shouldn't use lazyvim, nvchad, lunarvim, etc. is the same as why you shouldn't use arch-install you're using something you didn't build. you don't know how it works, you don't know what you can use, you have to learn the designed workflow instead of building your own. and you're gonna end up rewriting half of the configs anyway. just spend the day or two understanding nvim, so you can save a year or two using it.
@oleksandrkovalov15432 ай бұрын
@@frittex I did that before. I just don't have enough time to re-invent the wheel every single time, when I can simply use the tool. Nowadays I just do not have as much time as I had almost 25years ago, when I was also compiling Gentoo from different stages, as well as micro optimizing my kernel and so on, and I patiently waited for days for the process to be complete. You have that time - good for you, you can play with the config , rewriting every single line of it if you'd like and there is nothing wrong wth that. I doesn't work for me though.. all the best.
@frittex2 ай бұрын
@@oleksandrkovalov1543 I understand your logic, but at this point, in my opinion, you should be using VSCode with vim motions (or any other editor that supports them)
@drishalballaney65902 ай бұрын
@@oleksandrkovalov1543 this is why you just configure once and store the config on git
@anon_y_mousse2 ай бұрын
@@frittex I would've said just use vanilla Vim and configure over time, but that really doesn't work for the majority of modern day developers. Of course, I've had an advantage there in that I've been carrying forward across multiple systems the same config that I used with Vim on Win98.
@DonRamonHernestodelaCruzАй бұрын
could you upload your videos on odysee? i don't use this platform too much
@thearyanahmed2 ай бұрын
He looks like Arthur Morgan from RDR2
@jasperzanjani2 ай бұрын
neovim configuration is not trivial
@ntippy2 ай бұрын
8:12 this is a bit much for us to type
@ntippy2 ай бұрын
I messed it up bad and then found you had a repo so I could copy these files. you need to open with that point
@cowoverthere54852 ай бұрын
Bikeshedding Gaming
@adrian_sp6def2 ай бұрын
discuss rust abi
@p99chan992 ай бұрын
"lightweight"
@muhammadharris44702 ай бұрын
All of this can be done with the lazy builtin rust config just by uncommenting rust support in the config.
@ctnguyenvn2 ай бұрын
...and codium for neovim 😅
@fluttermaster61482 ай бұрын
Or you can simplify it with 1 step: 1) Install zed
@daniel292632 ай бұрын
Seems like a hassle running that over ssh.
@fluttermaster61482 ай бұрын
essentially zed is neovim speed + vscode out of the box experience =) So, not sure what are you talking about, you can't run custom neovim over ssh as well, you would get default vim only out of the box
@halano2 ай бұрын
rust analyzer is the worst LSP ever made it eating my whole system performance compares it to gopls and clangd show big difference.
@abdelk.20602 ай бұрын
imho, sorry, nobody asked, but! it would be much better to make video more friendly. Just instead of VIM, maybe VS CODE?? Yes, some people will hate that question, but yo, not a lot of ppl have ZERO awareness of quitting file after typing `vim ` (most of the ppl just freaking altF4 that beach) Just make it ezier, for the normie bros. (i use nvim tho) P.S. Bogdan, not ironically, thank you for your content. It is really helpful!
@s1v72 ай бұрын
you ruined it all! you should say - "I use Arch, btw"
@erlangparasu63392 ай бұрын
LazyVim, better docs
@charleswheeler341816 күн бұрын
this video is not very helpful for linux users...
@moontracker2 ай бұрын
Seriously? Let's spend time on what values most rather than fixing vim to look like cool kids! 😀
@Red-Code222 ай бұрын
First viewer
@phelipe88882 ай бұрын
11 comment
@cunbex21832 ай бұрын
Just use helix, 0 conf
@zeroday1712 ай бұрын
second
@justabdulmuizz2 ай бұрын
first
@henryvaneyk37692 ай бұрын
All this work to get VIM to look like IntelliJ? Nah, I'm good.
@frydac2 ай бұрын
It's not for everyone for sure, but do realize this video is not intended to 'sell' neovim, only to show that it can become a very capable Rust editor if you want it to. Most aspects that differentiate are not mentioned, so it is impossible to make an informed decision based on this, of course. If you are content, the by all means, don't worry about it. However, if you are often wishing you could change this or that feature, or customize something, but there isn't an option for it, then maybe look into it a bit more.
@T1Oracle2 ай бұрын
Helix > NeoVim
@antergonza64762 ай бұрын
Well done, thnx
@s.joseph4062 ай бұрын
@fabricehategekimana5350 6 hours ago Vim/Neovim mentioned letgs go @ThePrimeTimeagen . Let him cook