► 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
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?
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
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
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
@@devfortunato kickstart video: th-cam.com/video/m8C0Cq9Uv9o/w-d-xo.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
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.
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.
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)
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
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 😅
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
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?
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
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... 🙈
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
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.
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
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.
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...
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
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
Disagree Vim is better. VS Code is better for most people. But Vim IS better. You have a much higher ceiling and it gets far less in your way. Saying VSCode is better is like saying Windows is better than Linux. Linux is FAR better but Windows is more approachable for most people.
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?
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.
I switched SublimeText --> VSCode --> Pycharm --> Neovim --> VSCode --> Neovim. And it's where i am now. So maybe we'll see new video about switching :)
There really should be an editor that's basically Neovim but has every feature VSCode has and has a large team of paid developers backing it rather than random hobbyists on the internet.
► 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
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?
prime is going to react
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
@@mrkostya008 unfortunately the second one
For sure 😂. I'm loving neovim + zellij + wezterm
I think that was the only reason for making this video)
Nope i think he genuinely switched to vscode tbh. I personally like intellij with vim motions better
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
🥰 thanks man
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
Dap ci? What do you mean? Can you link the video?
@@devfortunatodap = delete a paragraph, ci” = change in quotes
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
@@devfortunato
kickstart video: th-cam.com/video/m8C0Cq9Uv9o/w-d-xo.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
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.
For big project, I still use Vscode + Vim emulator but man, the Neovim + Tmux combo is still the best thing ever
we need more tech youtubers with belgian accent
More like Antwerp :D
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.
I config those things to work almost like vim,.
just configurate vscode in json like you configurate neovim in lua the same way
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
That's my exact experience.
@@tzuilee588 I know how it works and I've tried. It simply can't be well integrated.
Anthony, thank you for being someone I admire and who pushed me to start learning so I can start introducing it at my job!
Primeagen mentioned.
The reaction video will be hilarious. Can't wait for it
Prime and TJ mentioned!! :D
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)
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
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 😅
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
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?
Yeah I tweaked it a bit. Theres a vscode repo on my github somewhere
@@anthonygg_ thanks I'll find it. I really like your color setup, it's very readable and easy on the eyes.
just realized there is a link to the vscode settings in the description haha, thanks for all the great videos and content sir
Summon Reactagen
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
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... 🙈
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.
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
Who knows someone get me back into vim
Just don't use Windows and your configuration sync will be just "git push - git pull" for your dotfiles.
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.
How the hell does windows have anything to do with config sync lol
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.
@anthony the big question is: why the hell are you not using copilot?
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
hell ye brother. I basically use it exactly the same as you. Hardcode vim was always too hard for me to use
Prime gotta react to this and its gonna be hillarious.
He has been summoned!
His next thumbnail will be "why I switched from go to rust" make note of this folks 😂😂😂
to sync neovim settings across different machines you can just initialize a git repostiory lol
Hahahaha lol 😒
why are you using windows and not linux ?
Games, software,…
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.
Can you tell me what vscode theme you used ?
gruvbox theme
one with 500k downloads
prime is definitely making a vid on this
is this the guy in that noob nvim user video? sounds like him
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...
Helix not mentioned ;((((
he lix diz nutz?
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.
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
I summon the Primeagen to react to this video. Commune with me.
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
Damn, was curious about that
Prime mentioned
Tj mentioned
When i grow up i want to become a vim user + arch linux
Had the same experience
Disagree Vim is better. VS Code is better for most people. But Vim IS better. You have a much higher ceiling and it gets far less in your way.
Saying VSCode is better is like saying Windows is better than Linux. Linux is FAR better but Windows is more approachable for most people.
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?
lol i'm one of the "what theme are you using" guys
I have very same feelings
Subscribed
Strange.... Scottish final R sounds like SH, but not exactly. It normally thrills, but he doesn't, so it's like a whistle.
we need Prime to react to this
somebody needs to call prime ASAP
Prime wants to know your location
Neovim is memory hogging lua ls. But vs code is smooth, no memory leak even in lua ls.
prime mentioned
Goland with vim motions is much much better than vscode or neovim
bla bla bla.... yeah bling, bling!!!!
I CAN BELIVEEEEEEEEEEEE, but I'll watch to know: WHY?
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.
Sounds like you are baiting the primagen for a reaction vid
The name
I switched SublimeText --> VSCode --> Pycharm --> Neovim --> VSCode --> Neovim. And it's where i am now. So maybe we'll see new video about switching :)
There really should be an editor that's basically Neovim but has every feature VSCode has and has a large team of paid developers backing it rather than random hobbyists on the internet.
JetBrains GoLand by far
Goland :P
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.
i can't unsubscribe because i'm not subscribed, but i would if i could...
Why you switched? You had a bad setup sounds like.
First!
skill issue