Why I Switched From NEOVIM To VSCODE

Sdílet
Vložit
  • čas přidán 27. 03. 2024
  • ► Join my Discord community for free education 👉 / discord
    ► Exclusive Lessons, Mentorship, And Videos 👉 / anthonygg_
    ► 33% OFF on my Go + HTMX + Templ Course PRESALE 👉bit.ly/3UFruxO
    ► Enjoy a 60% Black Friday Discount on My Golang Course 👉 fulltimegodev.com
    ► Learn how I became a self-taught software engineer 👉fulltimegodev.com/#mystory
    ► Follow me on Twitter 👉 / anthdm
    ► Follow me on GitHub 👉 github.com/anthdm
    Grab yourself a 33% OFF on the PRESALE event of my building production ready applications with GO + HTMX + Templ + Tailwindcss + JQuery course here: bit.ly/3UFruxO
    VSCODE settings: github.com/anthdm/vscode-config
    SUBSCRIBE OR NO MARGARITAS
    ╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
    ║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
    ╠╗║╚╝║║╠╗║╚╣║║║║║═╣
    ╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

Komentáře • 112

  • @anthonygg_
    @anthonygg_  Před 3 měsíci +1

    ► 33% OFF on my Go + HTMX + Templ Course PRESALE 👉bit.ly/3UFruxO
    ► Join my Discord community for free education 👉 discord.com/invite/Ac7CWREe58
    ► Exclusive Lessons, Mentorship, And Videos 👉 www.patreon.com/anthonygg_
    ► 60% OFF on my Golang course 👉 fulltimegodev.com
    Thanks for watching

    • @Microphunktv-jb3kj
      @Microphunktv-jb3kj Před 3 měsíci

      how could i bind my hotkey , if my cursor is inside file to jump into other files... the default in vscode is ctrl+p ,
      currently space+e opens and switches to filetree.. i have to be in filetree to use ctrl+p to fuzzysearch a file to go to..
      all files aare stacked into same tab... when u click with the mose on the tab, it popups slection of open files/buffers , how can i bind key to that for example
      because i think ctrl+p has other behaviour and meaning in vim , "Ctrl-N to insert the next matching word; or. Ctrl-P to insert the previous matching word."
      u can also search files from ctrl+shift+p tho, if u manually remove the prefix > on the line, does anyone know setting to remove automatic insertion of that?

  • @Jam-ht2ky
    @Jam-ht2ky Před 3 měsíci +182

    prime is going to react

    • @mrkostya008
      @mrkostya008 Před 3 měsíci +5

      I am not sure if its satire that prime is going to use react or if it says that prime is finna make a video about this

    • @Jam-ht2ky
      @Jam-ht2ky Před 3 měsíci

      @@mrkostya008 unfortunately the second one

    • @henriquembotelho
      @henriquembotelho Před 3 měsíci +2

      For sure 😂. I'm loving neovim + zellij + wezterm

    • @vitiok78
      @vitiok78 Před 3 měsíci +1

      I think that was the only reason for making this video)

    • @Jam-ht2ky
      @Jam-ht2ky Před 3 měsíci +2

      Nope i think he genuinely switched to vscode tbh. I personally like intellij with vim motions better

  • @thesaintseiya
    @thesaintseiya Před 3 měsíci +34

    A collab between you and Primeagen would be insane, hopefully my interpretation is correct!
    The part about nvim not having felt "right" for you was somewhat relatable because for a while it had a sort of alien feel to me, I would look at the same lines of code with the same color scheme and I would find it way easier to "see" in vscode. Now it's been a full year since I've switched and I couldn't be happier
    This is sorta random but because of Prime I got into Vim, discovered TJ, got interested in Go and then found your channel. I consider myself insanely lucky, you guys genuinely changed my life and 180'd my perspective on programming. I hope your channel grows a lot more

  • @ctrlaltdel3917
    @ctrlaltdel3917 Před 3 měsíci +35

    TJ's kickstart for neovim is a lifesaver for people that want to switch from VSCode. using motions like dap ci" is such a productivity boost. Once you got used to the configuration using Lua you can't go back to JSON. but trying to make neovim a VSCode clone is a bad idea

    • @devfortunato
      @devfortunato Před 3 měsíci

      Dap ci? What do you mean? Can you link the video?

    • @tesohh
      @tesohh Před 3 měsíci +4

      @@devfortunatodap = delete a paragraph, ci” = change in quotes

    • @z4rathustr4
      @z4rathustr4 Před 3 měsíci +1

      I prefer prime's Neovim config from scratch, he just moved from packer.nvim to lazy.nvim and released his 2024 config + a video rewriting the whole config, but I've also used Kickstart.nvim after switching from vscode and it's supremely easy to setup

    • @ctrlaltdel3917
      @ctrlaltdel3917 Před 3 měsíci +2

      @@devfortunato
      kickstart video: czcams.com/video/m8C0Cq9Uv9o/video.html
      on the motions, they get really powerful when you combine stuff
      some examples
      dap : delete around paragraph
      yap : copy around paragraph
      ci" : change inside "
      ca[ : change around brackets
      vaw : select around word
      yte: copy to next e

  • @vetalko000
    @vetalko000 Před 3 měsíci +3

    Anthony, thank you for being someone I admire and who pushed me to start learning so I can start introducing it at my job!

  • @3ckortreat
    @3ckortreat Před 3 měsíci +19

    we need more tech youtubers with belgian accent

  • @matiasbpg
    @matiasbpg Před 3 měsíci +1

    I like your take. More important than being the most efficient ( i really think you get diminishing returns on that) is that it feels good to you. For me vim feels the best because it entertains me to find the best way of doing my work. ( Also i love being able to pass text in a buffer as std input to programs like curl, jq or even node, it just feels good)

  • @NathanWienand
    @NathanWienand Před 3 měsíci

    Great video Anthony! Thanks. Maybe do another video on how you launch your editor via WSL, as that would be interesting to see your workflow.

  • @tanko.reactions176
    @tanko.reactions176 Před 3 měsíci +2

    you should also use (book)marks
    m + any capital letter for global bookmarks
    m + any lowercase letter for file local bookmarks
    ' + capital/lowercase letter to travel to the mark
    i use these capital letters for bookmarking the main places i am working on: ASDF
    in each bookmark, lets say A, i am using the letters asdf to bookmark locations in the file in descending priority order.
    once you get used to this workflow, its hard to go back.

  • @jmatya
    @jmatya Před 3 měsíci +4

    Primeagen mentioned.
    The reaction video will be hilarious. Can't wait for it

  • @josephangelodelosreyes4206
    @josephangelodelosreyes4206 Před 3 měsíci +10

    Prime and TJ mentioned!! :D

  • @agusaris5031
    @agusaris5031 Před 3 měsíci +6

    For big project, I still use Vscode + Vim emulator but man, the Neovim + Tmux combo is still the best thing ever

  • @miguelborges7913
    @miguelborges7913 Před 3 měsíci +11

    I can't use VSCode because vim-like keybinds "die" the moment I leave the text editing windows. It is a bit annoying when I want to use the file tree (could have been worse since I mostly use a fuzzy finder extension so switch between files), but it is very annoying when I want to interact with a terminal window.

    • @phamthanhat6620
      @phamthanhat6620 Před 3 měsíci

      I config those things to work almost like vim,.

    • @tzuilee588
      @tzuilee588 Před 3 měsíci

      just configurate vscode in json like you configurate neovim in lua the same way

    • @thesaintseiya
      @thesaintseiya Před 3 měsíci

      I had to switch to nvim soon after learning basic motions because on mac half the things just stop working with the vim extension lol

    • @gustavocampos1593
      @gustavocampos1593 Před 3 měsíci

      That's my exact experience.

    • @miguelborges7913
      @miguelborges7913 Před 3 měsíci

      @@tzuilee588 I know how it works and I've tried. It simply can't be well integrated.

  • @grim.reaper
    @grim.reaper Před 3 měsíci +1

    It’s not disappointing at all. What I see here is “less is more” and you made your vscode work with vim bindings which I couldn’t with my setup. I always struggled because I use a lot of custom bindings and it takes a lot of energy for me to rethink vscode 😅

  • @piotrekr
    @piotrekr Před 3 měsíci +2

    I use jetbrains stuff for everything related to coding. Now I'm starting with go and goland seems natural to me. It has vim emulation plugin as well, but it breaks too many of the shortcuts I'm used to. So as much as I would like to use vim style, I guess I'm still not ready to fully commit to it. Great video, anyway!
    And I'm not going to mention Primeagen as everyone else. Wait... Crap... 🙈

  • @robimalco
    @robimalco Před 3 měsíci

    @anthony the big question is: why the hell are you not using copilot?

  • @403wtf
    @403wtf Před 3 měsíci +2

    Try the VSCode Neovim extension instead!
    It may be a little more difficult to set up, but it's worth it. It's amazing to be able to use both the VSCode and nvim plugin ecosystems.
    Also at the moment, scrolling is not fully compatible, so, for example, I use VSCode German Scroll instead of nvim neoscroll

  • @el_carbonara
    @el_carbonara Před 3 měsíci

    hell ye brother. I basically use it exactly the same as you. Hardcode vim was always too hard for me to use

  • @metaltyphoon
    @metaltyphoon Před 3 měsíci +2

    I’ve been using neovim alot more lately but the one thing that annoys me is how the LSPs setup is done. In VSC, I search, I find and I install and it’s done. In neovim, I can do with mason but then u need 1000 other things first. Errrrrrr

  • @maxwebstudio
    @maxwebstudio Před 2 měsíci

    Other basic but usefull motions :
    - `zz` Recenter the middle of the screen at the cursor position
    - `Ctrl d` for half page down
    - `Ctrl u` for half page up

  • @dirkkunze2072
    @dirkkunze2072 Před měsícem +1

    The colors in the Gruvbox Themes extension look different than on Anthonys' screen.
    He has the green comments for example; did he do extra customization for his theme?

    • @anthonygg_
      @anthonygg_  Před měsícem +1

      Yeah I tweaked it a bit. Theres a vscode repo on my github somewhere

    • @dirkkunze2072
      @dirkkunze2072 Před měsícem

      @@anthonygg_ thanks I'll find it. I really like your color setup, it's very readable and easy on the eyes.

    • @dirkkunze2072
      @dirkkunze2072 Před měsícem

      just realized there is a link to the vscode settings in the description haha, thanks for all the great videos and content sir

  • @jmatya
    @jmatya Před 3 měsíci +1

    He has been summoned!

  • @rando521
    @rando521 Před 3 měsíci +1

    prime is definitely making a vid on this

  • @MrHapini
    @MrHapini Před 3 měsíci

    Damn, was curious about that

  • @DelkorYT
    @DelkorYT Před 3 měsíci +7

    Summon Reactagen

  • @Metruzanca
    @Metruzanca Před 3 měsíci +5

    Prime gotta react to this and its gonna be hillarious.

  • @erikslorenz
    @erikslorenz Před 3 měsíci

    I wish vscode made working with the explorer window easier with just keyboard. That’s the main part that’s kind of a pain. I have a bunch of keyboard bindings for it but it’s a bit janky

  • @KonradGM
    @KonradGM Před 3 měsíci +1

    I feel more ppl would benefit more from advanced debugger use than vim specifically. I'm still flabbergasted by so many seniors not using debbugger to anything more than advanced logging...

  • @tzuilee588
    @tzuilee588 Před 3 měsíci

    hahaha I have been waiting for this video so long 🤣
    vscode + vim-motions works perfectly for me, just need to restart vscode once it gets sluggish after a few hours of coding

  • @rafael.aloizio1769
    @rafael.aloizio1769 Před 3 měsíci +1

    His next thumbnail will be "why I switched from go to rust" make note of this folks 😂😂😂

  • @vitiok78
    @vitiok78 Před 3 měsíci +12

    Just don't use Windows and your configuration sync will be just "git push - git pull" for your dotfiles.

    • @petertillemans2231
      @petertillemans2231 Před 3 měsíci

      I share my dot files with Windows too. Took a few years to get it to where I was happy with it but it does the trick.

    • @metaltyphoon
      @metaltyphoon Před 3 měsíci +1

      How the hell does windows have anything to do with config sync lol

  • @GOD9494
    @GOD9494 Před 3 měsíci +1

    I saw your video a year ago. I transitioned completely to vim. I am sort of a vim god myself now. here I come back to see my baptist going back to vs code :D

    • @anthonygg_
      @anthonygg_  Před 3 měsíci

      Who knows someone get me back into vim

  • @alexIVMKD
    @alexIVMKD Před 3 měsíci

    Had the same experience

  • @kodekorp2064
    @kodekorp2064 Před 3 měsíci

    The thing I hate about VScode is I need to have a power brick constantly in the outlet to power my laptop due to how much power VScode sucks up.

  • @shubhamrasal8930
    @shubhamrasal8930 Před 3 měsíci

    Subscribed

  • @amandin.
    @amandin. Před 3 měsíci +1

    to sync neovim settings across different machines you can just initialize a git repostiory lol

  • @user-qq7yc1qp8z
    @user-qq7yc1qp8z Před 3 měsíci

    I prefer jetbrains with vim motions to neovim. Better git integration, docker integration, built in tool for working with databases (data grip), better autocomplete and refactoring. The only minus is it takes a lot of time to load the project , and you don’t have the same ability to customize, but I’m lazy anyway.

  • @wh7988
    @wh7988 Před 2 měsíci +1

    is this the guy in that noob nvim user video? sounds like him

  • @nullish123
    @nullish123 Před 3 měsíci +2

    Can you tell me what vscode theme you used ?

    • @varanasi47
      @varanasi47 Před 3 měsíci

      gruvbox theme
      one with 500k downloads

  • @rafa6536
    @rafa6536 Před 3 měsíci +2

    VSCode has lots of awesome shortcuts. Alt+Shift+Right is one of them. It is nonsense to use Vim inside VSCode, better learn VSCode shortcuts. Btw is there Vim plugin like VSCode's Live Server plugin?

  • @levent4999
    @levent4999 Před 2 měsíci

    somebody needs to call prime ASAP

  • @EricT43
    @EricT43 Před 3 měsíci +1

    Nvim is great if you want to spend a lot of time on your computer without working on real projects. Having some competency with Vim is useful for anyone that works in a terminal. I use it all the time to make quick modifications to a file, to write a script, and things of that nature, but when I working on a coding project, I use VS Code. I don't know anyone besides content creators that use Nvim as a primary editor. Until I reach a point where moving my cursor and typing are the bottleneck, rather than my brain, then I'm just fine with VS Code and a mouse.

  • @Lukian_Muzyka
    @Lukian_Muzyka Před 3 měsíci

    prime mentioned

  • @EliasX962
    @EliasX962 Před 3 měsíci +1

    why are you using windows and not linux ?

  • @MrEvilyogurt
    @MrEvilyogurt Před 3 měsíci

    I have very same feelings

  • @kasper369
    @kasper369 Před 3 měsíci +1

    When i grow up i want to become a vim user + arch linux

  • @z4rathustr4
    @z4rathustr4 Před 3 měsíci +1

    I summon the Primeagen to react to this video. Commune with me.

  • @levibaraka
    @levibaraka Před 3 měsíci +1

    Prime mentioned

  • @bartek...
    @bartek... Před 3 měsíci +1

    bla bla bla.... yeah bling, bling!!!!

  • @Lado93
    @Lado93 Před 3 měsíci

    3:54 this is sooo true for me! I have muscle memory on this vim key bindings that when I think what letter is for up I need to thing about it for a second. lol

  • @insert-name1500
    @insert-name1500 Před 3 měsíci +1

    lol i'm one of the "what theme are you using" guys

  • @plaintext7288
    @plaintext7288 Před 3 měsíci

    Helix not mentioned ;((((

  • @mjaysmileofficial
    @mjaysmileofficial Před 3 měsíci +1

    we need Prime to react to this

  • @fooktu
    @fooktu Před 3 měsíci

    Goland with vim motions is much much better than vscode or neovim

  • @SharukhKhan-sd7xg
    @SharukhKhan-sd7xg Před 3 měsíci

    Prime wants to know your location

  • @ash1kh
    @ash1kh Před 3 měsíci

    Neovim is memory hogging lua ls. But vs code is smooth, no memory leak even in lua ls.

  • @greendsnow
    @greendsnow Před 3 měsíci

    Strange.... Scottish final R sounds like SH, but not exactly. It normally thrills, but he doesn't, so it's like a whistle.

  • @btkb1427
    @btkb1427 Před 3 měsíci

    Sounds like you are baiting the primagen for a reaction vid

  • @daltonyon
    @daltonyon Před 3 měsíci

    I CAN BELIVEEEEEEEEEEEE, but I'll watch to know: WHY?

  • @ForeverZer0
    @ForeverZer0 Před 3 měsíci

    Nearly 14 minutes of cope xD.
    But seriously, to each their own, I couldn't care less what people use for their editor, whichever you feel at home in. We all have out personal tastes and what works best for us, for endless reasons that may or may not be understood by another, let alone determine how important they are to someone else.

  • @MrLotrus
    @MrLotrus Před 3 měsíci

    I switched SublimeText --> VSCode --> Pycharm --> Neovim --> VSCode --> Neovim. And it's where i am now. So maybe we'll see new video about switching :)

  • @vetalko000
    @vetalko000 Před 3 měsíci +1

    First!

  • @yorgosdimitriadis3874
    @yorgosdimitriadis3874 Před 3 měsíci

    JetBrains GoLand by far

  • @boneface8384
    @boneface8384 Před 2 měsíci

    skill issue

  • @flogginga_dead_horse4022
    @flogginga_dead_horse4022 Před 3 měsíci +1

    Goland :P

    • @RichM1967
      @RichM1967 Před 3 měsíci

      So I hate the cost, but I can't seem to do without it, and its hard to explain why. just a lot of little things that make vscode seem not as polished.

  • @runcorx
    @runcorx Před 3 měsíci +1

    i can't unsubscribe because i'm not subscribed, but i would if i could...

  • @mvaldes
    @mvaldes Před 3 měsíci +1

    Why you switched? You had a bad setup sounds like.