NVChad - Turn Neovim Into An Awesome IDE
Vložit
- čas přidán 17. 01. 2024
- In this video I show you NVChad, my new favorite Neovim IDE.
Install NVChad with this command
git clone github.com/NvChad/NvChad ~/.config/nvim --depth 1 && nvim
My merch is available at
based.win/
Subscribe to me on Odysee.com
odysee.com/@AlphaNerd:8
₿💰💵💲Help Support the Channel by Donating Crypto💲💵💰₿
Monero
45F2bNHVcRzXVBsvZ5giyvKGAgm6LFhMsjUUVPTEtdgJJ5SNyxzSNUmFSBR5qCCWLpjiUjYMkmZoX9b3cChNjvxR7kvh436
Bitcoin
3MMKHXPQrGHEsmdHaAGD59FWhKFGeUsAxV
Ethereum
0xeA4DA3F9BAb091Eb86921CA6E41712438f4E5079
Litecoin
MBfrxLJMuw26hbVi2MjCVDFkkExz8rYvUF - Věda a technologie
As a sysadmin, I’ve worked hard to learn the shortcuts of my text editor and improve my efficiency. I doubt you can find another sysadmin as fast as I am with my preferred editor, GNU Nano.
I present: myself.
uff im sensing the most epic anime fight of 2024 is about to go down
I was also a nanoer until my job involved pasting SSH public keys into ~/.ssh/authorized_keys. Sometimes the pasted key didn't work, so I went to check why. Turned out Nano inserted an arbitrary line break at one point because it found the line too long, so it thought it's helping me by cutting it up. If I was composing a novel, probably it would have been right, but it's not a welcome feature for sysadmins and software devs. I realized Vi(m) doesn't do that, it's always true to the text I'm editing, so I started to lean towards it more and by today Vim is my go-to text editor. However I should still learn a lot about it to be more efficient or to enable language server support which would be especially useful for Rust.
Pretty sure if you go into your nano config you can turn off auto line breaks lol
i use nano because it's what comes with most distros i use. idgaf about efficiency
I used to like and be interested in pre-made configurations for things like Neovim and Emacs (e.g. Doom Emacs, and Lazy Vim). But after using them for a bit, I felt like it was more of a hassle than it's worth, so I went back to using my own simple configurations. It may not be like this for everyone, but it's like this for me. I like things to be simple, and not bloated with things I don't care about. Also, I often find that those pre-made configurations are made for someone else and not for me, so it's more like I'm forcing myself to do it someone elses way instead of making it work for my needs.
Currently my Neovim config is some custom keybinds. Some various plugins through packer (e.g. treesitter, lsp-zero, harpoon, toggleterm, and lualine). And a gruvbox theme (I tend to change my theme every now and then, but this is the one I'm currently using.)
(there are some other stuff in there but that's mostly configuring the plugins, and some vim settings)
Based HARPOON user detected
That’s really all you need honestly! Almost identical config to yours and I’m loving it. Kickstart is also super close to this
This is the way. Never use pre made stuff guys! Be authenticate!
That's literally nvchad
Same. I use nvim mostly for latex writing. It is very difficult to understand pre-made configs. As noob I got only benefits of beautification but was completely lost how to use functionality features of preinstalled plugins. When I configured nvim from scratch, at lest somehow I started to use plugins functionality, because I knew why I added them.
My name is Chad and I live in Nevada, so this title freaked me out at a glance.
If you're on the internet at all in the past few years, you must get spooked quite a bit
@madmartigan1634 being me in CURRENT_YEAR is a very odd experience actually
Chad from Nevada, you have to turn Neovim into an awesome IDE right now
This is hilarious
Do not go to a certain African country
Thanks for the video! I recently discovered NvChad and I was pleasantly surprised to see this vid! I'm under the process of leaving IntelliJ completely for Neovim instead.
Gotta love the pixel misalignment on the statusbar thanks to Alacritty
Truly a rust product 🙈
it is fix in kitty..
Nchad is mid packer or lazy the true plugin in my opinion
Alacritty also completely breaks ANSI Escape Sequences.
@@saymehname it is not the problem of rust!! The only reason you hate rust because you can't learn it. It is truly the best language now
You uploaded this at a perfect time because I was going to try out lazyvim yesterday
Love NVim! Excited already and 5 secs in!!! 🎉
Great timing! I just started to try Vim and Fireship led me to NVChad, which led me here.
Using this for years. Fantastic, well maintained project
I heard about nvchad when I was learning rust. Great IDE. I was able to bring most features but it takes work to make it fully integrated
i love the flexibility that comes with customizability and extensions but dislike configuration! this is perfect
Thanks to you I am motivated to dive a little deeper into nvchad. I think I will use it from time to time at work. 👍
This is exactly what I was looking for, thanks! Just an fyi to someone trying to use thus via ssh on windows, don't forget to set your PowerShell/CMD font.
I actually just switched from vim to nvim with NvChad last week. It's really nice and speeds up the work flow
Keep making videos like this; it is good to see how someone else is leaning neovim and understand the others pain.
Really Thx a lots, start using neovim at the past, it is really tough and install every things and not easily , also, Nvchad makes the nvim much more like the modern editor
Thanks for this, I use neovim for all of my development as a DevOps engineer. I cant wait to use this
As a daily nvchad user, this vid was helpful. Find buffer and split window is not something I use normally, plus didn't know the difference between tabs and buffers.
This video came up to me just as I was about to work on my code project, thanks so much.
Also, what programming languages do you use?
NVChad is awesome! It's my code editor of choice as a CS student
I was not expecting Mental Outlaw and NvChad in the same video. A surprise, but a nice one. ^ ^
Ok
A surprise to be sure, but a welcome one.
You haven't been watching for long enough then
lots of people are validly suggesting avoiding large vim distros, a nice alternative to that would be nvim kickstart which gets just enough to get going while keeping everything vanilla nvim
This.
I am hyped :) I actually use vim with termux on android and I think it will reduce my pain.
That's Great, I too followed a guide/blog and downloaded nvchad for termux and it feels better
Cool. I just made the jump from nano to neovim and am slowly getting a feel for it. I like it a lot. I may have to print out a cheat sheet for my desk 😅.
It's always good to print out cheat sheets😂
I took Luke Smith's config about 3 years ago and have been changing things in it slowly over time to suit my current workflow.
I think this could be good for someone starting out, but it really doesn't have any killer features that would make me want to switch to it.
Actually it was probably 5 years ago thinking about it :o
luke smiths configs are brainrot, admiting u use it is kind of embarrassing
@@wh7988 What is this weird tribal reaction to text editor configs?
@@davidr2421just humans being tribalistic as per usual
@@davidr2421 says a lot about you if you can't see it
Been using neovim at work (programmer) for two years now. Best switch I've made in my career
I've been using vscode because I just couldn't be bothered to configure vim myself but now I'll install it for sure
I've been using this since starting my journey into Arch Linux and absolutely loving it. It's like the perfect fusion of quick text editor and full ide with so much QoL
Throw rotten tomatoes at me, but if I want to have a fancy editor on a remove server, I mount it using SSHFS to make it as though the files are on my local machine and then edit them in the normie GUI editors. I don't know if nvim has multiline editing where I can create an arbitrary number of selection regions using RegEx, but this feature has me absolutely hooked in Sublime Text/VS Codium. I can work on thousand-line files, find little mistakes, compare files, merge columns, find inconsistencies, I never even use spreadsheets.
i am got insterested on this, what is the use cases ?
Multiline editing: Macros
Regex: /s
Large Files: bigfile.nvim
Find Little mistakes: /s
Comparing Files: tmux
Merge Columns: vim-fugitive
Finding Inconsistencies: /s
Things I like more
Telescope.nvim. A fzf that has grep and uses it as a file browser
flash.nvim: Makes keyboard motions really fast
Harpoon.nvim: Allows you quickly swap between useful files fast, great with C++ headers and source files
Nvim-notify: a nice clean notification daemon
There are also things i dont like such as the debugging support, and same with community and plugins.
I would recommend a prebuilt config to start out but highly recommended to make your own editor yourself.
@@reyioa For comparing files I just use nvim -d file1 file2
@@qanon4realvsqanon4gery70 Since they have never used nvim before, C-b is easier for them instead of using commands, since they have background in vscode + sublime. And, Tmux is easier to use if the window manager supports it such as sway, etc. I use tmux because i use wayland + hyprland
Looks great! thank you for the share
Started using VIM after 4 years of sublime text... instantly fell in love; but I will never forget sublime,
he teached me to code
let's go! I've been daily driving this version a year
NvChad is great, been using it for half a year now. It's a bit sad to sometimes return to my old incomplete rice of vim though lol
Didn't know many of these hotkeys though!
Small tip: you can exit screens created by split with plain :q, it won't close the whole vim until there's one screen left
Thank you so much. That's all I really really need.
I'm gonna give this a try. I switched to vim a few months ago, but I'm still not REALLY good with vim shortcuts. Thanks.
I'd recommended being familiar with vim motions at first. And try understanding how lua config works on nvim; for that see documentation in nvchad webpage itself.
I think the main thing that makes neovim feel like an ide is the lsp capabilities and autocompletion which are handled by plugins like lspconfig and nvim-coc. I really wish there was a debug protocol baked into neovim the same way lsp currently is.
dapui + dap adapter+ neotest for reponsive unit testing
: works for pretty much every language.
Is that WIF I'm seeing here?
Great Video Thanks. Made me re try vim :P I just have to get all the config up and running again...
I have worked with Astrovim for a long time and found it ok. At the same time, I found it was always too overloaded for me, for example using two packet managers at the same time and including some extensions that I never used. NVChad looks more lightweight. I like that.
Hi Mental, How is your RockPro doing so far and does the tor relay's work on them?
Greetings and keep up the nice videos!
Holy book of rust enjoyer, very cool Jason Tatum. Personally I like lunarvim
He could not afford showing us that beautiful deepfake today 😢
NvChad is great but I personally use another neovim config called AstroNvim - it feels a kinda easier to use out of the box and it suits my needs
roll your own config! it may take a little bit longer to figure out, but it will make you much more familiar with neovim and make changing things much more simple. nvchad is pretty difficult to customize with custom plugins or changing the default behavior.
p.s. if you're going to use a pre-made config, lazyvim is much better imo. much simpler to configure and doesn't lock you in to using specific settings that you might not like
I'd say the guide to overwriting nvchad's config values is quite good, as in what folder to use. There are also good examples in the config files. Everyone is free to have their own opinion though.
Honestly it's not that hard to customize it to your liking, all you need to do is read the docs. Lazyvim and nvchad have different goals. Nvchad is more of a statting point to make your own personal config, pretty much building it from "scratch" . While Lazyvim offers a complete development experience out of the box.
That's why i switch to lazyvim from nvchad, lazyvim is a lot easier to customize
2:21 i can agree to that as i too dont wanna pointlessly spend hours ricing my system or terminal just to make them look better and rather wanna spend that valuable amount of time working on a project or learning something
VIM ON TOP
Thank you so much! I'm too lazy to learn these shortcuts myself XD
Glad to see you've been following the Rust book
Ok now i convinced, give it a try
i personally prefer lunarvim, but nvchad is cool too :D
I picked up you saying GUI first as gooey :D
every time i watch a video about this config i learn something new lol
I find it a little funny that so many nvim plugins seems to do exactly the same as a feature which already is built in but just with a little better UI :D
vim is truly incredible
Hey Kenny, thanks for the video
you're welcome
the creator of Nvchad is a gigachad 🔥
ctrl o or ctrl i is nav forward or backward in jumps, this is really useful when you edit more then 1 file, ex. you forgot what a function is doing, so you use gd to goto def. and you can read the code and to get back you ctrl o and you back to your code.
Irony is coming here and knowing it's a vim related video and you just want to watch it (Perhaps to finally convert a friend)
Peak reality though?
That's coming here to watch for vim, and by the second or third time seeing the Rust code in front of me, realizing it's something I was attempting to implement while learning Rust.
That, that's a subscription.
+1 to printing cheatsheets. I also had one for tmux
Would you consider making a video going into more details about getting LSP's installed
I tried nvchad, and then astro, and settled on astro. I haven't needed to customise it very much, just added some community language meta-packages really. Which-key is the best.
I really like helix, it has similar keybindings and treesitter lsp etc is already included
LazyVim is the perfect distro because it's still very much a vanilla install in a way. I feel like NVChad becomes another beast, so if you're not that savvy programming-wise, it might be difficult do deal with extensions. I feel like for a noob like myself, I get a lot more useful (and easier) information out there for solving LazyVim than I get for NVChad.
nvchad uses lazy.nvim for package manager too, still vanilla. Lazyvim spoon feeds a lot, nvchad doesnt. Btw what issues did you had with nvchad?
"basically surrendering to the NVChad bubble" Idkman I'm very interested in Vim but it's not like I wanted to do much configuration with VSCode either... If I enjoy NVChad as an IDE, I'll use it as such without worrying about whether or not I'm proficient in configuring Vim...
@@zoox3732 I think "surrender" was a strong word in my part, that wasn't really what I wanted it to mean. It's absolutely fine to just setup and use and it's expected that you do so. I'll edit and reword it. I used NVChad for several months btw. I like the approach of setting new stuff on LazyVim better than NVChad's. I feel like it's a little bit more understandable for me (like I said, i'm very much a noob, I started programming in January of 2023).
@@siduck_og I remember trying to install a few packages and I just couldn't get it to work. I don't really remember which ones though. I'm thinking it was harpoon but I don't really remember.
@@lodiped did you lazy load them properly or add lazy=false?
5:50 yoo a fellow minigrep developer! Was just doing that same chapter the other day
Switched to vim pretty quick as a sysad after feeling silly for pulling nano in front of my manager to write various scripts with hundreds of lines or configs that span more than a page. He wasn't bothered at all but I felt like I came straight out of super weenies hut jr. I've been driving nvchad since and compared to engineers who use their own vim config (trouble with LSP and making it work like an ide) or vscode (it eats 32gb of ram and makes their i7/r9 workstations sweat) it's super comfy and efficient. And looks better.
Ok nvim get another chance now, thanks!
I noticed you accept XMR. Awesome! Everybody in the world needs to use it!
NvChad is poorly documented.
The themes, th, suck. I've gone through all of them over-and-over-and-over but none work for me. The current line and the comments are almost invisible to my eyes. I've had to make some special colors. They need to quit coming out with so many themes and start making some good ones. Quality beats volume.
The telegram help channel for NvChad is, well, unhelpful.
Normal vi is good enough for me. Vim is overkill. Neovim in today's world is the default. NvChad is the kitchen sink. I told myself I'd try NvChad and if it slowed things down I'd choose something else. Surprisingly this kitchen sink is performant. No slowdowns to stop the show.
Overall it was a great video.
default emacs with the whiteboard theme seems to be all i need
I initially installed NvChad as well, but then after watching The Primeagen i felt ashamed and installed Neovim kickstart of TJ and configured that to be like NvChad (manually added file tree, buffers,..etc). Did this to call myself pure Neovim user lol.
Can somebody please help me how to chnage the behaviour of the cursor, to restore it after exiting neovim? I have configure my cursor to blinking line, and when I exit neovim, it stays solid, non-blinking block. On the web there are many question like that, and many solutions, but either I don't know where to apply them, or when I found out where to apply them - they doesn't work.
Lets go!!
NvChad showed me what was possible with Neovim. The problem is I'm not a fan of the folder structure. So I wrote my own config from scratch that does everything NvChad can do and more 😎
Open source it
did you forgot to TSInstall rust? it installs rust treesitter parser which is needed for treesitter syntax highlighting
EMacs for the win
This is like seeing an old WW2 veteran saying "the allies will win"
@@lonelyshpee7873 and they did 😊
What I have issues with is getting vimtex and githubs copilot integrated. Specifically, vimtex compilation works only if I open neovim through the terminal, not, for example, if I open a tex file through lf or Nemo. I don't know why, it honestly does not bother me enough to bother with it, but if someone knows, please let me know.
Could you make a video about how to set up nvim for Python?
Based af
This seems l8ke it's a meme but it also isn't which makes it more of a meme.
Good job
Same, remote with Tmux and Vim... Back in the day... Felt 1337
all 4 nvim distros are great but there an setepping stone for you to create your own config based on kickstart or just start from bare nothing
Best way I found to close those VSP and SP is (SPACE + X). Im still a little confused as to closing terminals.. But that also works with SPACE + X. You just need to not be in the Terminal I mode
Oh and for the terminal Alt + H or V works for switching between console and file buffer
we all know he recommended it because it has chad in the name.
Think I will stick to Helix and then VSCode when the projects get too large for the telescope file browser
I installed nvchad once without knowing what it was. it put a little red arrow next to the numberline, and I spent an hour trying to figure out what that red arrow was before I gave up and uninstalled. I just want rust errors to end up in a quickfix list (or whatever) and I have had no luck
Lol I literally switched to nvchad a few weeks ago. Before that I used spacevim bit imo it was a lot harder to tweak it because it was further away from standard neovim
I prefer the Helix editor. It is VIM-like but the keybindings are a bit different and the actions you perform are reversed-like select then delete rather than d first then selection-but it comes with tree-sitter and LSP support and I find it much more plug and play than VIM and I prefer the select before action method of interacting with things. It also supports multiple cursors out of the box and has wide support so it is easy to use a package manager to install it
Helix doesn't have as wide of a support as Vi(m) when it comes to keybindings. I am an Emacs user but I still use Vi bindings, and I use Vi bindings in my browser as well. At work, I often have to ssh into remote machines and Vim or at least Vi are present on all of them. If your worry is just LSP and tree-sitter support, NvChad has them out of the box
I also prefer Helix. The keybindings make more sense once you get used to them.
"Okay, let's be honest - for FIXING archlinux whenever I broke the GUI"
Damn felt that 😅
love it bro
Nvchad is cracked
I used nvchad for some time but the way that configuration is handled is very different than regular neovim configuration, it is very confusing. So i gave up and started using lazyvim, configuration is simple and well documented
What are the best resources to learn vim motions?
I keep meaning to get better at vi but I get lazy and give up, I think I need a spoonfed course or set drills to practice.
type :Tutor or just press F1 key
practice makes perfection, just try editing text using (neo)vi(m)
Today was the day that I officially switched from Vim to NeoVim, I gonna miss you, Vim 😢
never heard of buffers tbh :D hehehehe leme try this thx
i like the traditional vim / vi editor. nvim is just vscode without mouse
somewhat true but my god is lua so much better than vimscript
oh it's like spacemacs but without the bloat!
what bloat
what boat? the .el files? nvchad would be similar with all the lua scripts.
@@zZGzHDyou're right, I should just use vi
Liked nvchad but had issue with their old plugin manager
Status Line problem: tried using the Nerd Font but the icons just won't show.
So that makes it EmChad instead of doomemacs. Or is this doomvim?
Im new to neovim, so please excuse me if my question is dumb, but how can I format my code like I can do in vscode with prettier?
Nvchad, what a funny name
Lets gooo! vscode bye!
How do you vertical split without showing the horizontal navbar???