Тёмный

How to ACTUALLY switch from VS Code to Neovim 

Joshua Morony
Подписаться 74 тыс.
Просмотров 183 тыс.
0% 0

Vim is notoriously hard to use if you are not familiar with it, but people also go on about how great it is. It took me a few tries, but this video details how I managed to finally make the switch to neovim from VS Code after some failed attempts.
TJ's Lua Snips video: • TakeTuesday E03: Intro...
The Primeagen: / @theprimeagen
My previous video that discusses neovim: • I spent YEARS optimisi...
Blog post series: / learn-neovim-the-pract...
Get weekly content and tips exclusive to my newsletter: mobirony.ck.page/4a331b9076
Learn Angular with Ionic: ionicstart.com
0:00 Introduction
0:58 Step 1: Do you really want this?
1:17 Step 2: Vim Extension
2:14 Step 3: Neovim setup
3:07 Step 4: Neovim Extension
3:35 Step 5: The Terminal
4:23 Step 6: Experiment
4:58 Outro
#neovim #vscode #vim
- More tutorials: eliteionic.com
- Follow me on Twitter: / joshuamorony

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

 

1 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 265   
@the-real-pawook
@the-real-pawook 10 месяцев назад
but why
@Boomatang
@Boomatang 9 месяцев назад
I can give you my reasoning. Currently I am in transition period for the last month, still have not work out how to debug yet. But I spend most of my time in k8s clusters and there is the k9s tui that is fantastic for explore cluster and doing that debug work. k9s is always opened in a terminal. For the terminal emulator I use kitty which has great support of panes and tabs, with very fast switching between tabs. So now I can have code editor (neovim) in one tab and k9s in second tab, plus a random tab for watches or running kudectl commands. k9s also use mostly the same keybindings as vim. I still love the jet brains products. They are so good but for what I am doing the more time can have window focus on kitty the faster I can move. If I was doing web dev where there would be the constant switch to a web browser, I am not sure I would put the effort in.
@JoshuaMorony
@JoshuaMorony 9 месяцев назад
Not pinning this to be an ass, but thought it might actually be useful for the people who like vim to share their "why" in this thread. Here is some of the reasons I like vim from another comment thread: "If I had to sum up my key reasons for preferring neovim, it's that I have a super lightweight coding environment that I can instantly pop up (I just hit Ctrl + J and I instantly get my terminal full screen) - I can very quickly jump between different projects without having to have say 4 different instances of my IDE open, I find coding with vim bindings and my own personal keymaps to be far more quick/satisfying/ergonomic, I can use all of my editors features/gizmos completely through the keyboard without ever having to touch the mouse, and I have a high degree of control over tailoring the editor to my own workflow. But, there is also this secondary benefit I think where because neovim forces you deeper into this configuration sort of environment (a downside), this same thing also leads to increased skills with languages and tools I wouldn't otherwise be using (i.e. lua and things like sed/grep)"
@KadenCartwright
@KadenCartwright 9 месяцев назад
For me it’s the latency, and the way you can type command a ahead of the UI without it messing up. You can type as fast as your fingers, not as fast as a UI can update. I describe it like when I was younger, I played fps games all the time. I would experiment with turning my sensitivity up slowly and after a while I could whip around a corner and get a kill way faster than the other guy. The speed of feedback gave room for muscle memory to develop and it was really fun. In vim/neovim, things can become muscle memory in ways that are hard with vscode, so once you develop that muscle memory, you really don’t have to think much. It just makes it easier for me to get into a flow state, which brings back a lot of the joy from when I first was learning to code. In short, I think vim/neovim makes coding more fun for me. It took a while to develop the skills to enjoy but I’m sure glad I did it. If you haven’t given it a shot I can’t recommend it highly enough, maybe you’ll start to have more fun programming too. And if not, hey ¯\_(ツ)_/¯ that’s ok too. At least you gave it a try and expanded your horizons a bit
@jackfeng2676
@jackfeng2676 9 месяцев назад
Everyone's more or less in a different situation, but I totally agree with the lightweighted coding environment point of view. I am working on a more-than-10-year-old machine and had a hard time using the default IDE which could causes the machine frozen now and then. Also I need to connect to the cloud from time to time in terminal so vim is more or less encoded in my DNA. The day I knew neovim, it conpletely changed my mindset. Now I use neovim with tmux in an ssh to another new machine. Sounds absurd but it actually works perfectly. Well, another point but equally important is that it feels soooo sexy when you can change something with only several strokes while the others need more than 1 min. Feels soooo good to get completely rid of the mouse while coding. Even my seniors now have no idea what I have just done and I would say I am just getting started. It's not only about productivity, but about how enjoyable it is to learn the optimization neovim provides and make use of it. Certainly worth trying it.
@qangeldratsch9643
@qangeldratsch9643 9 месяцев назад
Also vim and vim motions are just fun and if you really master even the basics, you feel like a god. When your muscle memory just kicks in, you do a fast ci( and your coworker sitting next to you just thinks "what the hell just happend". But honestly vim can just be fun and satisfying, once you get used to it. But the downside to using vimmotions on a daily basis is that you now feel awkward in every none vim text box, like in browsers or chats and you suddently just post a :wq somewhere out of habit
@lloydbonds9268
@lloydbonds9268 4 месяца назад
I decide to switch to it on a whim. no "easing into it" with vim extensions in vs code. what i didnt know is that it would lead me down a path to learning containerization with docker, learning about linux, getting a better handle of github terminal actions, setting up a linux WSL, reading actual documentation. After a week of struggle I finally had my more or less completed nvim configuration...and I loved every step of the process, even the parts where I was banging my head up against the wall. Neovim became my favorite editor without even coding in it. Now that I do code in it, I love how fast it is...and im glad i dove head-first into it. I feel like it made me a better programmer.
@jamess.2491
@jamess.2491 4 месяца назад
WSL???? I feel sorry for you my brother
@lloydbonds9268
@lloydbonds9268 4 месяца назад
@@jamess.2491 yup, WSL. Setting it up wasn't so bad, it wasn't nearly as time consuming as actually messing with lua files for nvim. I originally tried to use virtualbox, but it was too slow and inconvenient.
@srikrishna_97
@srikrishna_97 20 дней назад
why would you need containerization with docker for this? can you explain how you ended up needed that?
@thelatifproject
@thelatifproject День назад
for what reasons are you a better programmer?
@BaoDuong-le4hk
@BaoDuong-le4hk 6 месяцев назад
<a href="#" class="seekto" data-time="110">1:50</a> - you can/should use command Vim: Toggle Vim Mode, instead of enable/disable then reload whole editor.
@ascourter
@ascourter 9 месяцев назад
Great advice. Start slow and don't feel like you need to throw yourself into the deep end (unless you learn better that way ha!)
@toolbelt
@toolbelt 4 месяца назад
Awesome video. I’m on a similar journey and am now in the mostly nvim phase. It’s wonderful.
@TheEdgarDev
@TheEdgarDev 3 месяца назад
I'm trying to learn neovim but sometimes it is so fricking hard ngl hahaha.
@negaopiroca2766
@negaopiroca2766 Месяц назад
Awesome video, this is really honest and I think it helps people dealing with frustration at the beginning...
@NormalNvim
@NormalNvim 9 месяцев назад
Welcome to the community!!
@jzmmm
@jzmmm 9 месяцев назад
I'm quite proficient in vi, but i switched back from terminal to vscode a couple years ago and use the vim extension. just maintaining/managing the plugins is easier on vscode.
@ro0t115
@ro0t115 6 месяцев назад
m a learner now but yeah i can see how difficult is to manage vim or nvim plugins but if you understand core principle it so easy now i am using lazy.nvim, is awesome but i am trying to install everything form scratch is quite confusing and i mean it eats time..... but the satisfaction i get after is worth it.. hah haha
@phoneywheeze9959
@phoneywheeze9959 6 месяцев назад
especially considering the new vscode profiles. Now I can have multiple profiles with different extensions installed for different environments
@TheBest-sd2qf
@TheBest-sd2qf 6 месяцев назад
Would say if you use lazyvim you won't have nearly the hazzle..once you figured out how they do it. Being able to script your editor on the fly is just awesome..though you can probably do that in vscode also I guess.
@justinkim7202
@justinkim7202 Месяц назад
I personally started off with the vim extension on vscode, used it for basically all my projects for months, and I'm currently going through the neovim docs to try and completely switch to neovim.
@s8r4
@s8r4 3 месяца назад
Wow, at the very end you introduced me to a command pattern that I've been missing all this time, di. Reading through the text-objects documentation made me realize just how convenient this command is. Delete the word you're currently on, regardless where in the word? diw, Delete the current paragraph? dip, the list just goes on and I simply wanted to thank you for this revelation in my vim journey!
@lukassefcik9623
@lukassefcik9623 9 месяцев назад
What gruvbox color scheme do you use? I like your color setup and font also. It looks so clean.
@JoshuaMorony
@JoshuaMorony 9 месяцев назад
I just use whatever the default is for gruvbox, you can check out my config here if you like: github.com/joshuamorony/nvim
@yashguma
@yashguma 9 месяцев назад
Thank you Josh you’re the best 😜
@polic72andDrD3ath
@polic72andDrD3ath 5 месяцев назад
Learning how to learn is definitely a big part of it too. Taking the time to explore the :h docs can be huge for learning how to do things the vim way. Another really cool thing once you get going is learning that saying "there HAS to be better way to do this" often actually bears a better way to do something!
@thomassilvestre7545
@thomassilvestre7545 9 месяцев назад
I learned vi (not even vim yet!) the hard way: on an aix terminal with ksh. Just imagine, you open a terminal and the command line behaves like a vi editor, yep hit ESC then k or j to move into your command history. No kidding, you learn basic movements very quickly 😅
@Boxing_Gamer
@Boxing_Gamer 6 месяцев назад
That sounds like so much fun, reminds me of my Commodore 64 days!
@Falah_056
@Falah_056 3 месяца назад
I switch to neovim start from nvchad 2 months ago then last week i switch to lazyvim im lovin it when i try use vscode again i feel slow and sluggish
@user-bm3so1qx7h
@user-bm3so1qx7h 7 месяцев назад
Hi Josh! How did you get the inline template and styles syntax highlighting?
@JoshuaMorony
@JoshuaMorony 7 месяцев назад
Hey this is just from having the Angular Language Service installed (you can see my lsp config here: github.com/joshuamorony/nvim/blob/9d3a53455a8d938e24c9341a7ca0d9dad6bf4424/after/plugin/lsp.lua#L10)
@bestieboots
@bestieboots 6 месяцев назад
I've tried to switch to vscode from vim every couple of years since it came out, sort of like a "grass is greener and I'm sick of debugging my config", but the whole thing feels inside out to how I use and think Linux. It has nothing to do with the mouse, ergonomics, or keyboard bindings, it's more fundamental than that. I don't think I'd recommend vim to anyone (though I'll defend it), because I'd wager the processes and mental model it is best at supporting is dying out. I drank the Unix philosophy flavour aid over two decades ago and I'm not going back, as much as I kind of feel like a dinosaur.
@enderger5308
@enderger5308 4 месяца назад
A few tips from a long time Neovim user: 1. Lua is significantly better than Vimscript for writing your configs. It’s a lot less idiosyncratic. 2. While configuration frameworks are nice, rolling your own config will often create something much lighter. 3. Don’t overdo the plugins. Since my recent move to using Neovim for text edits and Emacs for full IDE features (yes, I’m an editor holy war heretic on both sides), I’ve found the startup on both editors significantly better (even if they look closer to stock and don’t have tabs, I can use :b for that).
@diegoulloao
@diegoulloao 9 месяцев назад
now you can remove the custom nvim-tree arrows and you will get normal arrows both same size
@andrewlee7574
@andrewlee7574 8 месяцев назад
What’s font you are using? It looks great~
@JoshuaMorony
@JoshuaMorony 8 месяцев назад
I'm using MesloLGS NF
@Arcane_Ayush
@Arcane_Ayush 8 месяцев назад
I gave my all to get used to VIM in one day using VS code extension... did 2-3 simple projects while having vim , now switched to neovim entirely cuz I feel I can get through this all ( day 10 )
@fichtensaft5149
@fichtensaft5149 6 месяцев назад
Well, did you?
@Joker-fj8hg
@Joker-fj8hg 6 месяцев назад
That’s crazy pace
@Arcane_Ayush
@Arcane_Ayush 6 месяцев назад
@@fichtensaft5149 yeah though I still do web development in VS code but I use VIm extension ( and NVIM for everything else , especially code review )
@froreyfire
@froreyfire 9 месяцев назад
"A natural tendency to go back to what you're comfortable with." Very true. Always going back to Emacs.
@ur.kr.2814
@ur.kr.2814 9 месяцев назад
Tried it. Have to use angular though and the support for the templates is too much worse than VS Code.
@achimwinter8054
@achimwinter8054 10 месяцев назад
I am mostly okay with my neovim config, however i still couldn‘t geht the debugger to work for frontend stuff. Does somebody got that to work with wsl2, project is located in wsl2 and chrome obviously in windows. I guess i would have to add some port mapping?
@KadenCartwright
@KadenCartwright 9 месяцев назад
WSL2 automatically forwards ports with listeners attached inside the Linux environment so they can be accessed on your windows localhost
@victortesla2935
@victortesla2935 9 месяцев назад
I just wanted to use a light wait editor that looks good
@markopoutiainen7108
@markopoutiainen7108 6 месяцев назад
I used Vim (not NeoVim) for several years but now I have used VS Code + the Vim extensions for a few years. Why? Debugging. There just isn't anything approaching a decent experience available to Vim. I had to kick up gdb every time I needed to debug something (the plugins never worked well enough to integrate this in Vim) and using the CLI gdb is not exactly my idea of fun. Yes, you find the bugs with it as well but just doing simple stuff like setting a breakpoint is tedious. But I have to try VSCode Neovim. I have also recently switched from Vim to NeoVim for my other editing needs so it would make sense to use the same settings.
@japadkman
@japadkman 5 месяцев назад
I decided to use neovim because I didnt like vscode, theres something about it that I just don't vibe with and it feels sort of heavy. Also because on my new role at the time I would be needing to ssh into several linux machines that only had vim installed as an editor instead of nano and I couldn't afford to be slow while altering configs on those servers. I went with a neovim distro called LunarVIM since the setup seemed easy. I kept vscode and lunarvim open on the same project side by side and I would work on lunarvim when I had time, and then on vscode when I needed to be faster, eventualy I stopped used vscode. When I have time I'll make my own config but lunarvim has been fine and easy to use.
@encapsule2220
@encapsule2220 9 месяцев назад
Tried it for a week. Love vim motions, other than that setting up all the plug ins, tryna make everything work made me wanna puke. I realized i like vscode, theres so many great features out of the box, but i think vim motions is def worth learning
@hohohodrigues
@hohohodrigues Месяц назад
I'm dumb and i like being dumb, I'll stick to vscode thank you
@kaidzz
@kaidzz 9 месяцев назад
depends on your technology, mine is salesforce so all my codes,js,htmls,salesforce configs etc needs the extension in vscode
@fuzzy-02
@fuzzy-02 8 месяцев назад
Im switching because on my old laptop it cant handle the bloated vs code. (Switched to linux too, very fun) On my desktop im remaining windows and cs vode until I feel like moving
@gcasanas1
@gcasanas1 9 месяцев назад
LSP for typescript is not quite there just yet. When I try to do a workspace symbol search in Neovim it is very slow compare to vscode. I thought that the typescript/javascript lsp was the same... I could be wrong but the speed is quite different.
@Boxing_Gamer
@Boxing_Gamer 9 месяцев назад
I think the problem is vim is single threaded so it can lag when waiting for LSP response.
@bestieboots
@bestieboots 6 месяцев назад
​​@@Boxing_Gamer incorrect. It is not single threaded.
@TheBest-sd2qf
@TheBest-sd2qf 6 месяцев назад
​@@bestiebootsfrom what I can read it uses an event loop..similar to node js.
@stuvius
@stuvius 4 месяца назад
<a href="#" class="seekto" data-time="126">2:06</a> was this a subtle critique of the annoying pop ups in VSCode? 😁
@LarsRyeJeppesen
@LarsRyeJeppesen 9 месяцев назад
I use the new Google Cloud editor. Amazing
@ash1kh
@ash1kh 9 месяцев назад
Just one thing. Can you use phind with neovim. Btw it's a search engine for coders and sort of explainer assist. If yes I will immediately shift. Otherwise no thanks, I am way faster with vscode.
@user-lp1be4jl8c
@user-lp1be4jl8c 5 месяцев назад
Is phind just chatgpt repackaged?
@vicca4671
@vicca4671 9 месяцев назад
I've switched to nvim almost permanently for 2 months already, my only current struggle is that I still couldn't get a CSS/SASS LSP running, and CSS without suggestions and auto-completion is beyond awful. Edit: nevermind, I just managed to get one running nice and good, thanks Mason. I can finally never again open VSCode
@KadenCartwright
@KadenCartwright 9 месяцев назад
Such a good feeling when you can finally ditch vscode! 🙌 I did the same about a year ago, and it just keeps getting more fun as I figure out new ways to optimize my workflow
@vicca4671
@vicca4671 9 месяцев назад
@@KadenCartwright tbh I settled well with a "neovim distro" because I wanted to have a more familiar interface, since I couldn't really slow down my tasks while switching to nvim. Astro was the one that fit me the best, but I'll eventually try my hand at configuring a setup with absolutely only the stuff I need.
@sutirk
@sutirk 6 месяцев назад
Mason is incredible
@ohwow2074
@ohwow2074 5 месяцев назад
I use Sublime Text a lot. VS Code is too slow for me. And neovim is hard to get started. I guess I won't bother anytime soon.
@p99chan99
@p99chan99 6 месяцев назад
I switched to Emacs, pretty fun
@SuperQuwertz
@SuperQuwertz 10 месяцев назад
Whats the link to the blog series about Neovim you showed?
@JoshuaMorony
@JoshuaMorony 10 месяцев назад
I just added a link to the description
@user-ti2ju9of6h
@user-ti2ju9of6h 2 месяца назад
The bad thing its behind a paywall
@AleMilos
@AleMilos 9 месяцев назад
I still don't get why I should swtich. VsCode + Vim seems a really good option but going further doesn't give me the same feeling. Can anybody change my mind??
@kamikamen_official
@kamikamen_official 5 месяцев назад
No, just do whatever you want to do. If you don't see worth in doing it, and can already use the bindings comfortably then you're good. Beyond that is just philosophy and being able to say you built your IDE. For some people, me, that's enough to do it, if not don't. Ps: if you're asking to be convinced that means you might already be the type of person that wants that, but just don't want to go through the hassle. Just do what he said build your vim on the side (or use stuff like LazyVim) and then see if it's for you.
@g-luu
@g-luu 10 месяцев назад
oh man i hope it’s not too painful for a webstorm user.
@pazzuto
@pazzuto 10 месяцев назад
I would never leave Webstorm. Not just the editor, but the assist it provides is unmatched - true for any JetBrain editors.
@peanutcelery
@peanutcelery 10 месяцев назад
Yes it is very painful lol, but I do like for a quick terminal edit instead of loading up webstorm for a single page. I use webstorm for full development but neovim for a quick in and out file edit
@ImperiumLibertas
@ImperiumLibertas 9 месяцев назад
Use learn vim motions. That's 80% of the pain. After that you can tweak your config to be exactly how you like them. Vims LSP and code action support is amazing. Snippets are available for any language you'd ever want. Neovim is the best editor because it is the most configurable editor. If you're that locked into one text editor you should ask yourself how much reliance are you putting on that tool to be productive? Are you locking yourself into an ecosystem that is difficult to escape? Is it going to make it difficult to adapt to new technologies in the future? With neovim you don't have to worry about it because it's all based upon plugins where with webstorm or any other none text editor IDE you're locking yourself into one specific workflow.
@adrian_franczak
@adrian_franczak 9 месяцев назад
Ideavim?
@Gordolone
@Gordolone 9 месяцев назад
@@adrian_franczak ideavim is just amazing… being able to combine vim motions and remapping even IntelliJ commands is priceless.
@im7254
@im7254 9 месяцев назад
what is a terminal?
@Sameer.Trivedi
@Sameer.Trivedi 9 месяцев назад
I am forcing myself to use Neovim, I threw my old keyboard and bought a 60% keyboard with no arrow keys spent 3 days customizing it into an IDE, even bought a course to learn it 100%. I absolutely suck at it right now but I am improving slowly.
@KadenCartwright
@KadenCartwright 9 месяцев назад
Don’t get discouraged, it’s super worth the effort!
@nullptr.
@nullptr. 6 месяцев назад
Buying a course sounds silly to me, there's a lot of material online for free. Should've donated to the maintainers instead.
@Sameer.Trivedi
@Sameer.Trivedi 6 месяцев назад
@@nullptr. It was like 5$ on udemy, it was pretty darn good, they guy focused more on stock vim, motions and keybindings and not the usual plugin this, distro that. I have had ass luck with finding good documentation or free videos for that matter, I think that the search time is better spent actually practicing.
@ShiloBuff
@ShiloBuff 6 месяцев назад
Serious question: Is Neovim really an advantage when you can use "Vim Modes" and keybinding plugins for a more modern and visual IDE? For instance VSCode has vim macros plugins. But I imagine other IDEs like Jetbrains also includes that. I still have yet to switch to Vim or Vim macros, but I don't see myself ever enjoying Vim IDE itself, only the shortcuts.
@JoshuaMorony
@JoshuaMorony 6 месяцев назад
Depends what you want, but for me the other big reason I like using neovim is specifically that it is terminal based and with tmux/zoxide allows for a workflow like I show in this section of my other video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-P5QPacz2-ao.htmlsi=baIXEG-f0VQJ-rfK&t=155 - it's not uncommon for me to have 6+ different projects to switch between, and with this set up I can bring anything I need up almost instantaneously (and of course the memory usage is better than having 6+ instances of VSCode running) Generally I just like having as much in the terminal as I can as I find improves my workflow (not just purely for speed reasons, it also feels less frustrating to me)
@andreistein2429
@andreistein2429 10 месяцев назад
Intellij🤘
@arnabbanik6403
@arnabbanik6403 5 месяцев назад
are you using Fira Code?
@oliverfoxi
@oliverfoxi 3 месяца назад
Use distros to land to nvim more easily
@LEGnewTube
@LEGnewTube 9 месяцев назад
Can you debug in neovim I’m and step through the code like you can in VS Code? That’s a big deal for me.
@PamellaCardoso-pp5tr
@PamellaCardoso-pp5tr 5 месяцев назад
Yes you can. And even more using treesitter. It's Just a matter on how much you experiment with the functionalities to find the Crazy amount of shit you can do with It that vscode can't even dream about.
@omarmahmoud1586
@omarmahmoud1586 5 месяцев назад
how much time did you take to fully switch to neovim?
@JoshuaMorony
@JoshuaMorony 5 месяцев назад
I don't remember exactly - I had toyed with it from time to time so I wasn't completely fresh when trying to switch, but once I made a dedicated effort to make the switch I think it was probably around maybe 2 weeks until I was able to use neovim for all my work
@jojo-nh3yj
@jojo-nh3yj 6 месяцев назад
How to adjust the page numbers to look like in this video (<a href="#" class="seekto" data-time="98">1:38</a>) i am using the Neovim extension but i don't have these
@edupazz
@edupazz 6 месяцев назад
If you haven't discovered til now, it's called relative line number. I don't know exactly the command to set it on, you may google it
@OnStageLighting
@OnStageLighting 4 месяца назад
Did you mean :set relativenumber ?
@manfrombritain6816
@manfrombritain6816 2 дня назад
yayyy another massive time-sink learning curve to POTENTIALLY gain like 0.3% productivity during the 10 mins a day when you get to actually write code rather than fucking around in meetings and with devops
@cloudy088
@cloudy088 9 месяцев назад
Hello, Please, can you provide me a theme you were using for <a href="#" class="seekto" data-time="247">4:07</a>
@JoshuaMorony
@JoshuaMorony 9 месяцев назад
That is a screenshot from VS Code and is just the default VS Code theme
@cloudy088
@cloudy088 9 месяцев назад
thank you @@JoshuaMorony
@oredaze
@oredaze 5 месяцев назад
The real trick to doing hard things is that they need to be fun for you. I was a hard vim user before I even though about programming. Because when I first saw it, I thought this is the coolest thing ever, it must be what the real hackers are using.
@insecuree3598
@insecuree3598 10 месяцев назад
There is no way i would switch from JetBrains to this. Even though i like vim motions, though it is hard to avoid conficts between vim bindings and IDE bindings if you use Vim plugin.
@GOTHICforLIFE1
@GOTHICforLIFE1 9 месяцев назад
Well you didn't pass step 1 then ;P Not for you
@Boxing_Gamer
@Boxing_Gamer 6 месяцев назад
If jet brains bothered to get their search and navigation features right, instead of focusing on supporting the newest javascript framework, I might give them a chance.
@edupazz
@edupazz 6 месяцев назад
​@@Boxing_Gamer may you elaborate? I'm learning the searching capabilities of intellij right now and it seems ok to me
@mohsin6312
@mohsin6312 18 дней назад
How did you switch your file explorer to the right side, sir?
@JoshuaMorony
@JoshuaMorony 17 дней назад
you can see my neotree config here: github.com/joshuamorony/lazyvim/blob/main/lua/plugins/neo-tree.lua (note the window position = "right" config specifically)
@oszi7058
@oszi7058 9 месяцев назад
the thing is its easy to waste hours upon hours on config, it doesn't matter what, nginx, vps, video game mods or neovim, for that reason i ll probably go with interllij ultimate the next time vscode pisses me off
@cloudy088
@cloudy088 9 месяцев назад
I feel sorry to bother you again, which fonts are you using? Thank you.
@JoshuaMorony
@JoshuaMorony 9 месяцев назад
All good! I'm using MesloLGS NF
@moathdw910
@moathdw910 Месяц назад
Why would i use somthing that would reduce my productivity
@mage3690
@mage3690 9 месяцев назад
The real reason you switch to Neovim is because you started in Vim, and the only reason you started in Vim is because you ssh into a server every day. Why would you switch from VSCode to Neovim? No idea. Maybe it's faster. Maybe you want to program in Bash (that's a real headscratcher. Don't do Bash, kids).
@randall.chamberlain
@randall.chamberlain 9 месяцев назад
Shame that the blogspot shared in the video description is a Medium blog. Annoying Subscribe/Pay wall
@StephenMoreira
@StephenMoreira 10 месяцев назад
Currently on the learning part of my NeoVim Journey. My intention is to really stick with VSCode and learn vim motions. VSCode is still very much king I feel like when working with a team you being the odd one out using full neovim while everyone else is using VSCode is an area of friction.
@JoshuaMorony
@JoshuaMorony 10 месяцев назад
To be fair I haven't worked in a team environment for a long time, what sort of frictions do you think you would run into though?
@StephenMoreira
@StephenMoreira 10 месяцев назад
​@@JoshuaMorony Same I am currently a solo developer at my organization, been in this role for the past 10 months. However, in my experience I went from everyone using their own diff editor to everyone using VSCode was really nice since we all discovered little quality of life features in the editor and shared with each other. When we would pair program for a bit or walk over and help another developer it was much easier to help each other when we were all familiar with the editor.
@MrFischi123
@MrFischi123 10 месяцев назад
​@@JoshuaMorony You and your colleagues can learn from eachother more easily if you both use the same tools. Also, devcontainers and extensions for VSCode are super useful for setting up development environments for multiple team-members. But you can probably setup similiar arrangements with NeoVIM or any other IDE. A real world example, where sharing debugging know-how is made simpler by knowing my colleague is using VSCode. 1) Open it as a workspace 2) Run "Reopen in devcontainer" 3) Wait for the debug extension to load 4) Click the run button that appears above your test function I really like your suggestion for using the Vim-Extension. It's probably the sweet spot for most.
@peanutcelery
@peanutcelery 10 месяцев назад
@@JoshuaMoronyI use Webstorm with vim commands and can never go back. Is nice not reaching for your mouse.
@bestieboots
@bestieboots 6 месяцев назад
I have not found this to be an issue, despite more and more people adopting IDEs over the years. It's getting rarer to find co-workers using it or emacs, but never caused a problem. I guess lately it's started to be seen as a hipster editor, so maybe there's some reactionary stuff I haven't dealt with yet?
@peanutcelery
@peanutcelery 10 месяцев назад
I wouldn’t recommend using a custom setup. It took me forever to learn vim because of that. I would just use a neovim distro and install any additional plugins. I have LazyVim as my distro and is pre-configured for JavaScript format. Then MasonInstall typescript lsp server and angular server, and TSInstall those too.
@juniorsundar
@juniorsundar 6 месяцев назад
I disagree. LazyVim takes you to a point where you don’t really have to think about that you’re doing. It’s kind of like installing vscode and having it run out of the box. Might as well just stick with vscode. My suggestion is to mess around with your own config (building and managing one from scratch) for like a month for some hobby project. Learn how package management and lsp management works. Learn to fix problems when neovim breaks. This is important because you know how to fix something that you built and broke that her than trying to fix something someone else built. After you get some proficiency in debugging your own Neovim set up, switch to LazyVim and try to bring it to a point where it is comfortable for you.
@zakhargreaves4379
@zakhargreaves4379 9 месяцев назад
Link to your dot files?
@JoshuaMorony
@JoshuaMorony 9 месяцев назад
github.com/joshuamorony/nvim
@ZeIsAnEnemy
@ZeIsAnEnemy 6 месяцев назад
Is there any real solution for helm templates? It's annoying to suppress yaml because helm templates aren't yaml and you see a bunch of red notifications on each single line.
@Edwinil
@Edwinil 10 месяцев назад
Yo lo he intentado 3 veces y he fracasado lamentablemente
@Twoty
@Twoty 9 месяцев назад
Hi man, How do I compile/build in neovim without doing it manually (setting up cmake for example, im fine with terminal stuff)??? Im in pain whenever I need to do c++ stuff
@matthewghere7765
@matthewghere7765 6 месяцев назад
The whole point is to do it yourself, my dood
@kaas99
@kaas99 9 месяцев назад
I tried Neovim and liked it but, didn't like the config part. That's not reliable and I am not passionate enough to fix those lua configs every other week or so.
@lucasteo5015
@lucasteo5015 9 месяцев назад
I use vim emulator in both vscode and intellij for my job, roughly 10 months since I last switch to use it. The only problem I have now is just the combo, such as what you mentioned di{ which is not very obvious most of the time, I always find myself doing everything in visual mode before doing any action (as when I was a noob I wasn't sure that my combo will be doing what I want to do, I prefer visualize it then do it), but now I got used to it which is not as efficient as executing the action directly and I guess it is about time to learn new combos to make it faster.
@JoshuaMorony
@JoshuaMorony 9 месяцев назад
These things clicked for me more when I would think of them as what they actually are rather than some obscure looking shortcut, e.g. in my head I would say "delete-in-curly brace" which is "di{" or "delete-around-curly brace" da{, "delete-in-tag", "delete-around-paragraph", "delete-in-word" and so on
@vladanisov1689
@vladanisov1689 9 месяцев назад
This is really helpful, thanks!@@JoshuaMorony
@gustavojoaquin_arch
@gustavojoaquin_arch 9 месяцев назад
Zzzzz Imagine use vscodzzzzzz or intelizzzzz I use neovim btw
@nahidahmed9153
@nahidahmed9153 7 месяцев назад
​@@gustavojoaquin_archimagine using neovim😂
@gustavojoaquin_arch
@gustavojoaquin_arch 7 месяцев назад
@@nahidahmed9153 YES 🗿 I'm not a 🏳️‍🌈 ((()))))
@js-ny2ru
@js-ny2ru 5 месяцев назад
I would use nvim if it wasn't so hard to set it up on Windows...
@geomorillo
@geomorillo Месяц назад
I allways come back fom vscode to vscose😂
@LeungWong
@LeungWong 10 месяцев назад
In my case I switched over to nvim because vscode suddenly one day decided to become extremely slow.
@dotRarufu
@dotRarufu 9 месяцев назад
same case
@sudeep.gurung
@sudeep.gurung 9 месяцев назад
So you just switched ? Just like that ?
@This_Account
@This_Account 4 месяца назад
Switching to vim is easy when $DISPLAY = Null Also I found my self primarily using the terminal in VSC anyway.
@joshuatye1027
@joshuatye1027 9 месяцев назад
If you switch to neovim trying to replicate vscode you are going to have a difficult time. Vim buffers are not like vscode tabs. VScode tabs are not like vim tabs.
@KadenCartwright
@KadenCartwright 9 месяцев назад
This is not true like at all though? Buffers in vim/nvim are almost exactly the same as tabs in vscode aside from the native way to view them is not a typical browser like tab system in vim/neovim. But this is just a UI layer thing, there are plugins that can provide that for you if you really want it
@Verrisin
@Verrisin 6 месяцев назад
alternative: move from VS Code to ... stay with me .... VS Codium. Yep. Not such a bad idea imo. :D
@Verrisin
@Verrisin 6 месяцев назад
and yes, I've used vim a lot. VSC has Vim extension. A lot of the extensions are not well set up keybind wise imo, but then again, it's barely worse than in vim itself ...
@ultimathule9841
@ultimathule9841 2 месяца назад
It’s fun until something breaks.. 😢
@vikingthedude
@vikingthedude 9 месяцев назад
My favourite are ciw ci’
@JoshuaMorony
@JoshuaMorony 9 месяцев назад
I need to force using change into my brain - my muscle memory is stuck on delete -> insert (e.g. diwi instead of ciw) - not a big deal I guess!
@ravenecho2410
@ravenecho2410 6 месяцев назад
Based
@WoWUndad
@WoWUndad 19 дней назад
im pretty sure asking an ai plugin inside in vscode can build vim in 10 seconds
@kevinclark1783
@kevinclark1783 9 месяцев назад
But why?
@anj000
@anj000 9 месяцев назад
I know this is not the video about "why", but man... it really seems like a bunch of dudes living a life of a teenage girl that "is not like other girls", and just trying to wear very uncomfortable shoes to feel special or superior to others. Some people are just giving in to a peer pressure from people that seem more experienced, because otherwise they will feel like they are not "real programmers".
@JoshuaMorony
@JoshuaMorony 9 месяцев назад
I get that it can seem like that, and certainly there is some kind of "elite" factor around vim (e.g. the memed attitude around "I use neovim btw"). Maybe that is some people's motivation - I think it's a mistake to assume this is all just pointless elitism though - there is value here, and whether it is worth it or not is going to come down to preference. If I had to sum up my key reasons for preferring neovim, it's that I have a super lightweight coding environment that I can instantly pop up (I just hit Ctrl + J and I instantly get my terminal full screen) - I can very quickly jump between different projects without having to have say 4 different instances of my IDE open, I find coding with vim bindings and my own personal keymaps to be far more quick/satisfying/ergonomic, I can use all of my editors features/gizmos completely through the keyboard without ever having to touch the mouse, and I have a high degree of control over tailoring the editor to my own workflow. But, there is also this secondary benefit I think where because neovim forces you deeper into this configuration sort of environment (a downside), this same thing also leads to increased skills with languages and tools I wouldn't otherwise be using (i.e. lua and things like sed/grep)
@anj000
@anj000 9 месяцев назад
@@JoshuaMorony I understand that it might feel satisfying/ergonomic/quick, but it reminds me of a meme "programmers will spend 20 hours writing a script and automating something that they could do manually in 2 hours". There is this drive in many people's brains to automate and optimise things, I get that, but it is hard for me to justify this professionally when my time is limited. How much of your work is actually writing code? I spend much more time talking to people about what we want to build, reading docs and thinking, than actually typing the code. It is not a bottleneck for me. And for example the time it will take me to select the whole function and delete it is irrelevant. I also don't see a problem with my IDE not being lightweight. I don't remember when it was the last time I noticed my editor being slow or not opening as fast as I would wish. Maybe when I was using full Visual Studio or some other garbage Codeblocks at university. It is very funny to me when some people say "I use IDE for normal projects and neovim to make quick single file edits". Why not just use a notepad in that case, instead of spending so much time learning neovim to just edit a config file. Anyway I will probably get vim motions in VS code "because I like to suffer". Great video and thanks for responding!
@JoshuaMorony
@JoshuaMorony 9 месяцев назад
​@@anj000 I write a lot of code but I also I don't think you have to be pushing out lots of code for it to be worth it. The initial investment in terms of time with vim/neovim is large, but once you get things set up and are comfortable there isn't much of an ongoing time investment. So, if you're going to be coding for probably decades to come, the initial investment become negligible if it is going to pay off for you in even little ways. That is an if though - if you don't see what vim/a terminal based editor offers as being beneficial to you then it makes sense not to bother with it. A big factor for me isn't so much that vim allows me to crank out code faster, it's more so that I feel less of a barrier between what I am thinking/trying to code and actually executing it. With VS Code I generally felt more disorganised and was sort of very conscious of trying to use a tool to make the code I want happen, with neovim it feels to me like there is less of a barrier between my thoughts and the execution and everything flows much more nicely. Maybe that sounds silly, but it's the best way I can think to explain it right now.
@anj000
@anj000 9 месяцев назад
​@@JoshuaMorony actually the explanation with the barrier between thoughts and the execution is really good. I personally don't experience so much struggle with the editor. But on the other hand maybe I just don't know the alternatives and I don't know how much better it could be. Thank you for your comments, didn't expect them to be honest :D
@edupazz
@edupazz 6 месяцев назад
I don't know, it just feels lame. I'm not even talking about VSCode. I even feel this way when comparing intellij and vscode. Intellij just magically works for most of the situations withouts plug-ins, and in vscode you have to dig plug-ins and configs to copy a fraction of Intellij's power. Then using neovim is this effort quadratic. Why does it have to be so complicated? Why can't I simply install some binary and feel it's all made to be like that? I still find super difficult to convince myself to abandon intellij for pure neovim/vim
@alexandertorres8854
@alexandertorres8854 10 месяцев назад
Sorry Josh....I can't follow you down this path....lol
@robosergTV
@robosergTV 2 месяца назад
does neovim has a co-pilot chat? If not = useless
@RemizZ
@RemizZ 6 месяцев назад
Honestly, I don't need another reason people can give me even more work because I'm done faster lol
@o_glethorpe
@o_glethorpe 10 месяцев назад
Neovim is good, until I want to debug something, I just cant get that stuff to work man.
@JoshuaMorony
@JoshuaMorony 10 месяцев назад
You talking like LSP diagnostics stuff for your projects, or like trying to fix things when Neovim just decides that today is a good day to break completely?
@o_glethorpe
@o_glethorpe 10 месяцев назад
@@JoshuaMorony LSP works fine, its really the debug. Like, step in, step out, breakpoints, etc... I cant get DAP to work, and since I work with angular, dotnet and flutter, it seems I need to solve this 3 times. :(
@JoshuaMorony
@JoshuaMorony 10 месяцев назад
@@o_glethorpe ah I'm just a console logger so I've never really run into this - it has to be a pretty bad day for me to bring our the proper debugging tools, and even then I just use the browser tools
@ChauTran
@ChauTran 10 месяцев назад
I definitely have stockholm syndrome for this but I come to term with Using the right tool for the right job. When I need to debug, I just: open float terminal -> webstorm . 😅
@joshuatye1027
@joshuatye1027 9 месяцев назад
You don't have to only use one editor. I code in neovim, debug in vscode.
@raident29
@raident29 9 месяцев назад
why make neovim like vscode when you can just use vscode and spend more time doing projects....
@codingjerk
@codingjerk 3 месяца назад
It's like sharpen an axe, good in long term
@atrowell
@atrowell 2 месяца назад
I think you have a good question. My answer is that I need to control many computers at the same time, and I can do that through a terminal. However I missed some of the nice features of vs code. This lets me have my cake and eat it too. For me though, since I need to operate multiple machines, set up on each machine has to be quick and painless.
@ultimathule9841
@ultimathule9841 2 месяца назад
True, that’s why I switch back after trying it 😂
@srijanraghavula
@srijanraghavula Месяц назад
Valid one. Because you get to understand more stuff not just the things you know but you get to mess around with your computer and you learn so much stuff. Don't ask me how, I messed with OS for a few years distro hopping while I could just stick to one but I learnt so much that I don't panic when an error pops up and I'm more comfortable with making mistakes and being fluid smooth with my computer and I know a lot more that indirectly contributes to my work
@silenthooman
@silenthooman 20 дней назад
to feel superior 👌
@ilyeshammadi7278
@ilyeshammadi7278 4 месяца назад
Switching to neo(vim) means you can finally call your self Software Engineer and not Software Developer anymore.
@kbishdev
@kbishdev 3 месяца назад
Skip the extension...insert mode is flaky and frustrating.
@alveek
@alveek 9 месяцев назад
So I need to install million plugins to basically recreate VS Code in a terminal? No, thanks.
@Boxing_Gamer
@Boxing_Gamer 9 месяцев назад
You can customize vim alot more, especially when it comes to keyboard shortcuts. But if you're happy with your current setup there's no reason to switch.
@coneforest9308
@coneforest9308 9 месяцев назад
It's also much faster than VS Code
@LHCB6
@LHCB6 9 месяцев назад
Easier than getting VS Code to have the functionality of Vim. The extention only does so much.
@blablabla7796
@blablabla7796 9 месяцев назад
Vim is in a weird place where if you only ever need to do is write code, once you get proficient with it, you’ll wonder why the hell were you even bothering with with notepad style text editors. It feels like you’re actually walking compared to when you were crawling with the conventional editor. The problem with vim is that it’s extremely pathetic without addons for any modern software development. Sure you’re editing code faster than any normie, but those normies have autocomplete, multiple tabs and windows, in-line debugging, mouse over code definition peeking. You’ll feel like you’re walking, but the normies are on a sled, you’re walking barefoot and your feet hurt. The obvious next step is to start supplementing vim with plugins. Once you do that, you’re not only not crawling, but you’re basically running now. If you ever consider trying out vim, I suggest you go straight to lazy nvim. You don’t need to configure anything besides installing an LSP for your programming language of choice. I use everything default and it’s already way better than vscode in my experience.
@blablabla7796
@blablabla7796 9 месяцев назад
Besides, VSCode is pretty crap without plugins either. Once you have added all the plugins you need, it’s no longer as fast as it used to be outside of the box.
@johnp.johnson1541
@johnp.johnson1541 6 месяцев назад
"You're going to code much more slowly for awhile." *Real coding always is slow. * Fast typing isn't real coding. Autocompletion is not real coding. Cutting and pasting others' work is not real coding. Real coding starts with a data transformation flow scheme. Next comes the p-code description of what each transformer stage does. Then comes the coding / parallel refactoring stage.
@user-fr2fm3ri3w
@user-fr2fm3ri3w 5 месяцев назад
You sound like you like Java 🥶
@fsharplove
@fsharplove 3 месяца назад
@@user-fr2fm3ri3w I agree 100% with everything he says except the last part. Usually you start coding before having a clear picture. Picture will be clearer during the process. He seems to be a very organize person, liking Java as to do with liking verbosity not organization, lol.
@Nitiiii11
@Nitiiii11 7 месяцев назад
I've made the switch to Neovim and I'll probably never go back. If you call yourself a professional, you should use the best tools available, which means you should at the very least consider Neovim and Emacs.
@4_millimeter_defeater358
@4_millimeter_defeater358 7 месяцев назад
Unemployed/Students. Nobody else embarking on this journey
@edupazz
@edupazz 6 месяцев назад
I feel likely to agree. Before getting my job I was super into Linux and dot files config stuff. Today I just want to seat, get my brain force explored by the company and never see the computer again til next day.
@GelidGeorge
@GelidGeorge 9 месяцев назад
What is the need to go back in time, and put oneself in misery ... 😂😂
@alexandrodisla6285
@alexandrodisla6285 9 месяцев назад
Well you are not going to like it.
@joaquieroux
@joaquieroux 9 месяцев назад
vim is too slow and cumbersome to install/update extensions and troubleshoot for it be useful.
@tyviz
@tyviz 6 месяцев назад
How use neovim when i dont have a qwerty layout? Thats says much about it. I tried remapping all keyboard but its fucked up. Useless vim like old shit
@gustavojoaquin_arch
@gustavojoaquin_arch 2 месяца назад
Based 🗿
@nmephchik
@nmephchik 2 месяца назад
you should stop after step 2
Далее
0 to LSP : Neovim RC From Scratch
30:47
Просмотров 1,2 млн
I tried 10 code editors
10:28
Просмотров 2,9 млн
I SIMULATED THIS EURO 2024 GAME.. 🤯
00:13
Просмотров 3,5 млн
Why Neovim nerds are so obsessed with the terminal
6:44
How Neovim saved me at least 30 minutes today
8:12
Просмотров 9 тыс.
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
Why Vim Experts Do THIS Instead of Using Tabs...
7:55
Просмотров 122 тыс.
Tmux has forever changed the way I write code.
13:30
Просмотров 920 тыс.
I Love Neovim But I WONT Use It | Prime Reacts
23:22
Просмотров 109 тыс.