Why I Switched From VSCode To NeoVim - My Setup

  Рет қаралды 70,965

Anthony GG

Anthony GG

Күн бұрын

Пікірлер: 109
@anthonygg_
@anthonygg_ Жыл бұрын
► Join my Discord community for free education 👉 discord.com/invite/bDy8t4b3Rz ► Pre order (get 30% off) my Golang course 👉 fulltimegodev.com ► Become a Patreon for exclusive tutorials 👉 www.patreon.com/anthonygg_ Thanks for watching
@blazinglyfaster9935
@blazinglyfaster9935 Жыл бұрын
Vim has that premium responsiveness that makes you want to write more instead of copy/paste
@nodidog
@nodidog Жыл бұрын
When you use gd to go to a definition, you can jump back using the jump list, with ctrl o (and forward again with ctrl i). Think o for 'out', i for 'in'. Also, using . to repeat the previous command is an underrated speed bonus. You probably know these, but thought I'd share 👍
@underflowexception
@underflowexception Жыл бұрын
i started using ctrl+^
@dandogamer
@dandogamer Жыл бұрын
Yeah the "." Tip comes in handy when indenting code
@nodidog
@nodidog Жыл бұрын
@@dandogamer you can also use ctrl-t and ctrl-d to indent and outdent while in insert mode. It's like tabbing, but you don't have to be at the start of a line - handy
@TehKarmalizer
@TehKarmalizer Жыл бұрын
There are so many useful commands. It fees overwhelming knowing there are so many that I will struggle to remember.
@nodidog
@nodidog Жыл бұрын
@@TehKarmalizer just try and learn one or two each week. You'll remember all of the easy ones by default, and the more obscure ones you'll remember over time 👍
@luciusstark
@luciusstark Жыл бұрын
I CAME FROM THE FUTURE. Months after: "why I switched from NeoVim to VSCode - My Setup"
@ipigtaiwan
@ipigtaiwan 5 ай бұрын
Damn
@jtms1200
@jtms1200 Жыл бұрын
When I was just starting out in my career, my mentor made switching to Vim a precondition of taking me on as a mentee. Best tech choice ever! 20 years later and im still a devout Vim user (now NeoVim because its just a much better implementation). Its the most important tool in my toolbelt!
@anthonygg_
@anthonygg_ Жыл бұрын
🤝
@chrishipple4419
@chrishipple4419 10 ай бұрын
Once you're used to the buttery smooth performance of vim, going back to the other IDEs is so painful, even if all of their built in features are really nice. The other thing is that when something doesn't work 100% out of the box with VSCode, you're usually stuck and in a lot of pain, but you can usually fix your problems with vim
@garbagechannel6514
@garbagechannel6514 Жыл бұрын
Most people using neovim tend to have strong feelings about it like this, but im reluctant to get invested because it looks like you're gaining a minor productivity boost and giving up a lot of features and time for it. I get the vibe that its similar to arch users, they spend all this time customizing their OS and its the greatest thing ever and productivity goes through the roof, but the amount of time requires to learn it vs the actual benefits are hard to measure and opinions are more biased because of the learning curve. I don't see enough of the benefits being presented by anyone using it, and watching them use it, it never looks like the vast improvement to make it worth the learning curve and configuration.
@atanugayen3030
@atanugayen3030 6 ай бұрын
I would say the biggest bang for buck you would get is to just learn vim motions (assuming you know touch-typing, which is a must for programmers, of course). It is absolutely, positively worth it. I learnt it from "vim-tutor". Then used the neovim plugin on vscode. Just focus on the most important commands at first and gradually learn more and more over time. Then gradually, you can decide if going full neovim is worth it.
@hassananwar2431
@hassananwar2431 Жыл бұрын
I've been waiting for this for a very long time
@badtrapify
@badtrapify Жыл бұрын
Nice, i was hoping for a video like that! Looking to customize my nvim a bit more go specific and it looked pretty nice in your streams. Keep up the good work! Doei!
@edzynda
@edzynda Жыл бұрын
I love using fuzzy find but if you're working on a repo you're not completely familiar with how do you even know what to type? This is why I still have a sidebar plugin :)
@anthonygg_
@anthonygg_ Жыл бұрын
Good point. Sidebar is indeed a better approach in that case.
@houstonbova3136
@houstonbova3136 Жыл бұрын
Thanks for making me aware of this plug-in!
@TehKarmalizer
@TehKarmalizer Жыл бұрын
@@adamjasinski1463 sometimes you don’t know what you are looking for or just want to peruse, especially if you’re new to a large codebase. But generally it shouldn’t be needed.
@BabaykaMoscow
@BabaykaMoscow Жыл бұрын
Thanks for sharing your experience. Could you share how would you debug with neovim with setting up breakpoints and all this debug stuff?
@anricoj1
@anricoj1 Жыл бұрын
"Don't be like your colleagues. Be a Chad. Use vim fuzzy find" 🤣
@dutchdelite77
@dutchdelite77 Жыл бұрын
DIdn't get the blazing speed I'd expected from Nvim on my M1 MacBook pro.. It's basically as fast as VSCode unfortunately. On my Debian Linux laptop Neovim is just 🚀
@たぬきという名のパンダ
@たぬきという名のパンダ Жыл бұрын
what's this font?
@dmitriylevy7865
@dmitriylevy7865 Жыл бұрын
"Dont be like all your colleagues, be a chad, use Vim" 6:22 The reason why I'm switching from vscode.
@justanaveragebalkan
@justanaveragebalkan Жыл бұрын
Yeah, don't be like your colleagues, memorize all 3000 files in the project and search for them by memory instead of the file list. Dominance on another level.
@dandogamer
@dandogamer Жыл бұрын
Oh damn it finally happened!
@nixrohan
@nixrohan Жыл бұрын
We only get 1 life, why not aesthetics? I use neovim as well but i have spend lots of time on ricing my arch linux setup which i am very much happy with
@robinzon100
@robinzon100 Жыл бұрын
hey hey Anthony 👋 what's the font that you're using?
@anthonygg_
@anthonygg_ Жыл бұрын
Consolas
@robinzon100
@robinzon100 Жыл бұрын
@@anthonygg_ thank you Anthony 🌟
@Deotheterrible
@Deotheterrible Жыл бұрын
What is the theme you are using?
@q21r55
@q21r55 Жыл бұрын
You're from belgium?! that's sick
@ForeverZer0
@ForeverZer0 Жыл бұрын
Taking the time to get past the initial growing pains is so worth it. I spent nearly two decades thinking vim was unintuitive garbage and that people were crazy for using it, and I regret that I never took the time to learn why people chose to use it sooner. Even if you don't like vim, learning vim motions, even in vscode, is a worthwhile endeavor that increases productivity.
@iamworstgamer
@iamworstgamer Жыл бұрын
I am also looking to move from vscode to emacs or neovim for golang
@NeoShameMan
@NeoShameMan Жыл бұрын
Does it have folding?
@anthonygg_
@anthonygg_ Жыл бұрын
Ofc
@NehezTheWrackful
@NehezTheWrackful Жыл бұрын
I am too deep in Jetbrains ecoosystem and too used to it after over a decade :), but Its fun to see other ppl using vim and be proficient in it :)
@wuilliam321
@wuilliam321 Жыл бұрын
Niiiice! I'm a neovim user too :)
@wuilliam321
@wuilliam321 Жыл бұрын
You should turn treesitter on, with golang grammar, it's amazingly beautiful
@definitelynotrohan
@definitelynotrohan Жыл бұрын
hey anthony! I love your videos. I'm in college and I want to become a backend web dev. I have been learning golang lately from your videos + docs (and making some small projects of my own also) how much frontend knowledge do I need? Should I learn something like React or vanilla would do just fine?
@anthonygg_
@anthonygg_ Жыл бұрын
Some react will get you very far
@definitelynotrohan
@definitelynotrohan Жыл бұрын
@@anthonygg_ thankyou
@notoriouslycuriouswombat
@notoriouslycuriouswombat Жыл бұрын
Looks back to vscode already?
@lokthar6314
@lokthar6314 Жыл бұрын
how do you handle refactoring in neovim, e.g. renaming a method ? Is there a way to rename a method and reflect the change all over the code base, in all places that use the method?
@anthonygg_
@anthonygg_ Жыл бұрын
I had a “macro” for that. However, I like to use vscode more for this kind of stuff
@nikfp
@nikfp Жыл бұрын
Renaming a function intelligently is done by the language server, which Neovim will connect to. So you can rename, go to definition, get inline hints, etc.
@tnvmadhav2442
@tnvmadhav2442 Жыл бұрын
Wanna know if vim has git-lens like extensions/plugins? I like the git blame feature. I absolutely love the copy line as remote file link for sharing code snippets.
@eliasgill2453
@eliasgill2453 Жыл бұрын
I don't know about the original Vim, but for Neovim Gitsings.nvim has that feature
@hamm8934
@hamm8934 Жыл бұрын
Yup Fugitive or Git signs. Git blame is a core feature of git, not an IDE. IDEs/plugins just interface with this.
@dailyfunnytv358
@dailyfunnytv358 Жыл бұрын
in this video: random guy is surprised by regular vim stuff
@jabuci
@jabuci Жыл бұрын
I went the opposite direction: vim -> VS Code.
@anthonygg_
@anthonygg_ Жыл бұрын
I did the same multiple times and probably will do it again. Swapping back to vscode.
@jabuci
@jabuci Жыл бұрын
@@anthonygg_ I spent too much time (weeks) fine-tuning (neo)vim, hunting and setting up plugins, etc. VS Code is much simpler and my config file is short. I still use vim for certain tasks, e.g. recording and playing a macro to automate some task. But my go-to editor is VS Code today.
@sunnybadgr5073
@sunnybadgr5073 Жыл бұрын
​​​@@jabuci I just switched from vs code to helix, I always avoided vim because it requires so many extensions and configurations to be productive. With helix editor I was productive after just 1 day of learning it, it comes with everything I need out of the box, including LSP, fuzzy file picker, code completion, tree-sitter based syntax highlighting, debugger support. I didn't even need to mess with the config. I highly recommend helix, it's the most intuitive modal editor I ever tried :)
@Cruzylife
@Cruzylife Жыл бұрын
nice!
@JohnDoe-ji1zv
@JohnDoe-ji1zv Жыл бұрын
Thank you for the video! That looks really interesting. Do you mind making another video on showing your personal setup and it’s configuration ?
@cbbcbb6803
@cbbcbb6803 Жыл бұрын
Can Vim be configured to default to start-up into input mode?
@CripplingDuality
@CripplingDuality 9 ай бұрын
Add :startinsert to the bottom of your vimrc, but you'll eventually remove it
@jameslapointe3044
@jameslapointe3044 Жыл бұрын
I was just looking for this video ... I'd been watching your videos took a break and was like when did he switch? I wasn't surprised - as you had vim bindings in vscode. I use both - but trying to slowly ditch VSCode.
@megasuperlexa2
@megasuperlexa2 Жыл бұрын
but this vid was obviously April's fool joke
@bartek...
@bartek... Жыл бұрын
Programming is not for YOU, its that YOU Are for programming!
@sabinadhikari2643
@sabinadhikari2643 Жыл бұрын
Tell me the name of colorscheme
@anthonygg_
@anthonygg_ Жыл бұрын
Gruvbox
@emirmasinovic
@emirmasinovic Жыл бұрын
Anthony "I use this all of the time" GG
@8koi245
@8koi245 Жыл бұрын
I'm just not that convinced because of the problems with copy/pasting however will try to find a way to make it work
@Lockhart_Owo
@Lockhart_Owo Жыл бұрын
As a beginner, I use lunarvim for several months. I am a embedded software developer. And I love lunarvim more than vscode.
@yzhang2008
@yzhang2008 Жыл бұрын
I used vi, emacs (very proficient, but I forgot all those shortcuts after 3 months of not using it), vi again, comodo ide, visual studio, vi again, and finally lunarvim. It's a highly efficient editor for programmers, because, you don't have to move your hands out of keyboard and you can do things easier and quicker than using mouse.
@MihoKozloffsky
@MihoKozloffsky Жыл бұрын
Look s like you've never heard about vim extension for vscode.
@anthonygg_
@anthonygg_ Жыл бұрын
Basically 90 % of my videos here are in vscode with VIM mode 🙏
@krusator
@krusator Жыл бұрын
Well, you are talking about you have no setup but actually you do have a setup. You are using a lsp, your are using treesitter, telescope and probably a package manager. And you have custom key bindings. Why didn't you talked about that? Your plugins and keybinding. Personally I find this stuff very interesting.
@timdithmer9184
@timdithmer9184 Жыл бұрын
Welcome to the dark side!
@r2com641
@r2com641 Жыл бұрын
What is good for me and makes me productive? - Sublime
@anthonygg_
@anthonygg_ Жыл бұрын
Works perfect!
@garciajero
@garciajero Жыл бұрын
credits to TJ and Telescope no? since it's all that you showing , not much vim .
@desvendandoornasaude4127
@desvendandoornasaude4127 9 ай бұрын
I use the two
@sergiucimpoi8497
@sergiucimpoi8497 Жыл бұрын
it is like comparing a 199x game with one of the latest, ray trace based one…only you care about the load time :)))
@interstellar1873
@interstellar1873 Жыл бұрын
G Config 🚀
@anthonygg_
@anthonygg_ Жыл бұрын
🥷
@ronaldweasly561
@ronaldweasly561 Жыл бұрын
Explain in O(1) why you choose vim among others -Speed
@peanutcelery
@peanutcelery Жыл бұрын
I love vim/neovim but what holds me back is the configuration. There must be an easier way to configure.
@AnthonyR007
@AnthonyR007 Жыл бұрын
They support lua configuration, and even Python now with pynvim
@Shri
@Shri Жыл бұрын
Lunarvim is great! Just go with it and you won't regret it.
@peanutcelery
@peanutcelery Жыл бұрын
@@Shri Thanks for the suggestion. I tried it and it seemed a little too much config for my taste. I did went for something similar, LazyVim.
@vikingthedude
@vikingthedude Жыл бұрын
kickstart-nvim is a good choice
@s8x.
@s8x. Жыл бұрын
vim keeps your fingers moving
@markpi2350
@markpi2350 Жыл бұрын
handsome guy!
@illegalsmirf
@illegalsmirf Жыл бұрын
Are you the kind of guy who 'switches' a lot?
@andreigatej6704
@andreigatej6704 Жыл бұрын
What about debugging? I use VS Code mostly for its debugging features. Also, totally agree with the 'motivation' thing!
@anthonygg_
@anthonygg_ Жыл бұрын
I prefer vscode more for debugging. But again, personal pref.
@phuc-party
@phuc-party Жыл бұрын
did anyone here set up graphql Lsp successfully?
@RayZde
@RayZde Жыл бұрын
No way is neo vim faster especially if you have muli projects doing front end web, windows, backend and database, mobile dev on android and ios dev.
@MihoKozloffsky
@MihoKozloffsky Жыл бұрын
And zen mode
@megasuperlexa2
@megasuperlexa2 Жыл бұрын
no debugger? ahaha 😂
@anthonygg_
@anthonygg_ Жыл бұрын
Never heard of 🧐
@TehKarmalizer
@TehKarmalizer Жыл бұрын
Wdym? Every language can print to console.
@helloworld7796
@helloworld7796 Жыл бұрын
I wished course is 100$ :)
@SelectedPeppa
@SelectedPeppa Жыл бұрын
Thank you, but no thank you
@lel7531
@lel7531 Жыл бұрын
Jumping on the vim bandwagon to sell go courses yikes
@iiNoorbd
@iiNoorbd Жыл бұрын
This man tricking yall
@ibrahimgumus2814
@ibrahimgumus2814 Жыл бұрын
ninja/ bruce lee of vim 🥷👏🏻🫵🏻
@fortran57
@fortran57 Жыл бұрын
Neovim is slow because you have to spend half of time to configure instead of writing code
@blessdarah1256
@blessdarah1256 Жыл бұрын
won a nobble price for simplicity
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 1 МЛН
Why I Dropped Go and VSCode For Javascript and Zed
17:26
Anthony GG
Рет қаралды 24 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Effective Neovim: Instant IDE
16:16
TJ DeVries
Рет қаралды 834 М.
Exploring Abandoned Games From Your Childhood
20:00
globert
Рет қаралды 2,3 М.
I built a real HTTP sever in ARM assembly in under 200 lines
22:34
Vim Motions for absolute beginners!!!
7:25
Dispatch
Рет қаралды 233 М.
Do NOT Write Another Project Until You Watch This Video
10:24
Anthony GG
Рет қаралды 12 М.
A Powerful Way To Make Editing Code In Neovim Even Better
17:48
Josean Martinez
Рет қаралды 130 М.
Vim As Your Editor - Introduction
12:24
ThePrimeagen
Рет қаралды 1 МЛН
Why Vim Experts Do THIS Instead of Using Tabs...
7:55
DevOps Toolbox
Рет қаралды 151 М.
Neovim With AstroNvim | Your New Advanced Development Editor
16:08
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН