From VSCode To Vim | Prime Reacts

  Рет қаралды 242,159

ThePrimeTime

ThePrimeTime

8 ай бұрын

Recorded live on twitch, GET IN
/ theprimeagen
Reviewed article: betterprogramming.pub/overcom...
Author: Sameer Kumar | / sameer-kumar-1612
MY MAIN YT CHANNEL: Has well edited engineering videos
/ theprimeagen
Discord
/ discord
Have something for me to read or react to?: / theprimeagenreact
Hey I am sponsored by Turso, an edge database. I think they are pretty neet. Give them a try for free and if you want you can get a decent amount off (the free tier is the best (better than planetscale or any other))
turso.tech/deeznuts

Пікірлер: 354
@adventuresinbytes
@adventuresinbytes 8 ай бұрын
What he doesn't tell anyone is that he is using VIM full-time now because he has never figured out how to exit it 18 years later.
@HordyJ
@HordyJ 7 ай бұрын
😂😂😂😂
@hebinyao709
@hebinyao709 6 ай бұрын
It’s actually pretty easy. You just need to hold down the power button for a few seconds.
@russellbusch
@russellbusch 5 ай бұрын
:q is the *only* thing I know in vim.
@davidoyinbo4591
@davidoyinbo4591 5 ай бұрын
🤣🤣🤣
@salaheddine.el-farissi
@salaheddine.el-farissi 5 ай бұрын
HHHHHHHHHHHHHHHHH
@brandonkeffer5752
@brandonkeffer5752 8 ай бұрын
My CS 101 course was on Java and the professor was a Clean Code™ fanatic. The required IDE was Eclipse and after one semester, I switched to Network Security.
@everyhandletaken
@everyhandletaken 8 ай бұрын
That’s a true torture-test!
@ristekostadinov2820
@ristekostadinov2820 8 ай бұрын
We had a option between Eclipse or IntelliJ with student license (it's free), i always used IntelliJ. In our Software engineering course we were thought about Clean Code (but it was more theoretical), and in later courses we were using some clean code patterns. If you're C#/Java student/developer you're will most likely run into clean code TM people.
@ghosthunter0950
@ghosthunter0950 8 ай бұрын
Man eclipse is just disgusting. I'd rather not get any IDE features than use that piece of crap again.
@rogergalindo7318
@rogergalindo7318 8 ай бұрын
my data structures professor is a OOP ™ type, make everything a class, including your program
@rogergalindo7318
@rogergalindo7318 8 ай бұрын
and it’s not even java or c#, it’s c++…
@Sameer_Kumar
@Sameer_Kumar 8 ай бұрын
Thanks prime. The name is Sameer, author of this silly piece. 😅
@PristinePerceptions
@PristinePerceptions 4 ай бұрын
Correction: Vim-eer 😏
@airkami
@airkami 2 ай бұрын
Thanks for sharing your story!
@airkami
@airkami 2 ай бұрын
How do I ninja learn the bindings?
@Sameer_Kumar
@Sameer_Kumar 2 ай бұрын
@@airkami it’s much simpler than I made a big deal of in the beginning. Think in terms of patterns and individual shortcuts. Like for all my language related keybindings: L + ___ : R for references D for definition F for find of usage E for highlighting errors A for code actions. Kinda intuitive.
@dxshawn532
@dxshawn532 6 күн бұрын
Gey
@80sixd
@80sixd 8 ай бұрын
my ceo used to call me into his office to review his code adn he would have it open in regular ass notepad. He wrote our entire product. Hundreds of thousands of lines of java. This was just a few years ago.
@zach4216
@zach4216 2 ай бұрын
wtf
@shakram2774
@shakram2774 2 ай бұрын
HUH
@airkami
@airkami 2 ай бұрын
I had a college student print out their code and ask me to find the error they had. It was an extra space. I found an extra space on a printed page of code.
@airkami
@airkami 2 ай бұрын
To add context I was also a student. I’ve never been a professor but I was tutoring the person.
@jgdovin1
@jgdovin1 8 ай бұрын
My friend bought me a copy of winrar for my birthday 8 years ago as a joke
@FraserChapman
@FraserChapman 8 ай бұрын
My first editor was...an actual notepad and a pen. Scribing down machine code and assembly mnemonics for the Z80 🙃
@user-gp7kn1su1u
@user-gp7kn1su1u 8 ай бұрын
I have no idea what that is but i give utmost respect.
@VivekYadav-ds8oz
@VivekYadav-ds8oz 8 ай бұрын
So you didn't even write assembly? You wrote actual binary 1s and 0s? 💀
@FraserChapman
@FraserChapman 8 ай бұрын
@@VivekYadav-ds8oz hex not binary - I'm not a monster.
@gregvanpaassen
@gregvanpaassen 8 ай бұрын
"Talent does what it can; genius does what it must". If you must code, and all there is is paper and a pen, then that's what you'll use. If Notepad is all there is, you'll use that.
@pamdistasio5207
@pamdistasio5207 8 ай бұрын
My first editor was a stack of punch cards and a number two pencil. Ran it through a card reader and got a printout on a teletype machine for easier reading of the entire program. Mark that up, find the card for the line you want to change, throw it out and make a new card for that line. You young'uns got it way too easy to justify all the arguments about editors today. Just pick one, any one, and you'll be fine.
@jzmmm
@jzmmm 8 ай бұрын
back in '99, i got a copy of linux through a magazine. I think it was called slackware from memory (i eventually got a copy of red hat). Anyways, i opened up vi (not sure how i figured out i needed vi - maybe it was in the magazine because i didnt have any internet at the time) and i could not figure how to edit nor could i figure out how to quit the damn app LOL. That 'cant quit vi' meme is legit. I would reset my pc to get out of it.
@55sombreroman
@55sombreroman 8 ай бұрын
I had a similar experience with organizing things but funnily enough it came from looking at it through the lens of algorithms. The amount of work it took to sort my unorganized closet or alphabetize my things was much much greater than the work needed to just scan through my unorganized things to find what I wanted.
@cosecseccot
@cosecseccot 8 ай бұрын
I Blindly followed your 0 to LSP video, and got my nvim setup, yeah i got some problems while setting up the LSP but stack-overflow helped I really want to thank you to introduce me into the world of vim !!!
@genstian
@genstian 8 ай бұрын
I coded in notepad++ for years, before switching to vscode, I just so rarely ever needed autocomplete or any of those interscope stuff, and notepad++ had all the same auto features I really needed (but I do miss the F12 go to definition vscode now have), but vscode got so much more that just is outside coding, you can deploy docker containers and all these extra features integrate rather well. Sure, in vim and neovim world, you can get the perfect setup you like, but you have to put in some time,
@ericr5481
@ericr5481 8 ай бұрын
My biggest hurdle with switching to Vim from VSCode is that I have a mountain of work to complete and I need to be productive now, not in a year from now. Not to mention that I would have to spend a week configuring it before I can even start doing work with it.
@sutirk
@sutirk 8 ай бұрын
Just make the switch gradually. Use it for couple minutes each day, or commit to finishing one task using neovim. You'll exchange a tiny bit of productivity, but nothing impactful. Eventually you'll feel the same level of efficiency in both editors, then you can decide which one you'll keep using. It took me 3 months but i ditched VSCode completely now, and im more efficient using neovim now. I was already familiar with vim bindings though. As for the setup, 70% i straight up copied from theprimeagen, following his config guide. Over several months i did spend a couple hours understanding and editing my personal config, but thats worth it for a tool you're using 8 hours a day.
@user-mikesmith
@user-mikesmith 8 ай бұрын
If you are happy and productive with VsCode the way you use, that is great. No reason to enjoy it less because people claim something else is better. If you are curious about Neovim, you can treat that curiosity like a hobby. Play with it when you want to relax from work in your off time and you will naturally get faster. Maybe a Neovim hobby would replace VsCode later, but if it doesn’t, that is ok. Enjoy the way you like to work.
@alexandrep4913
@alexandrep4913 8 ай бұрын
A week from now? Longer.
@jackdanielson1997
@jackdanielson1997 7 ай бұрын
Honestly, if they were to do scientific research on which you could be more productive in, and controlled all other variables somehow, I'd find it hard to believe Vim users are more efficient overall. There may be specific actions that are faster in Vim, but coding is a lot more than typing and navigating. For me where Vim breaks down is I often do a ton of code movement, and it's dead simple to use my mouse / keyboard. I doubt any Vim user on the planet could out-pace me in large refactorings of a codebase. These are painstaking operations for Vim to move chunks of code between files or rearranging a file, refactoring into many files etc. I've watched really advanced Vim users and emacs users struggle with these things and I think they just avoid refactoring on that level in general because of the difficulty of it
@ejazahmed4609
@ejazahmed4609 7 ай бұрын
1 year is a bit exaggeration. Following is from my personal experience. I used vscode for 3 years prior to that. I went straight to LazyVim instead of configuring it myself and I recommended new users do that too. It's a good starting point where most things work out of box. The first week you will maybe half as productive as vscode. You are still learning your hjkls and overall neovim ecosystem. If you chose LazyVim, then you will be going through it's docs. 2 weeks in, you will start getting idea about how things are working. By now you may have watched few videos on configuration through weekend. Still not as productive as vscode. You may miss few features but have looked up alternatives. 3 weeks in. Now you are as productive as vscode. You have learned things like macros, text objects, package manager to install neovim plugins. You can move around pretty good and have good understanding of ecosystem. 4 weeks in, now you are more productive than vscode. 2 months in, now you are twice or three times more productive than vscode. The only thing stopping you from getting more productive id your typing speed.
@Thorhian
@Thorhian 8 ай бұрын
My first CS class was an intro course to procedural programming in C++ (basically just using it as C with some extra conveniences, didn't really do much object oriented stuff until the next class). All assignments had to run and be turned into a testbed system running on the school linux servers remotely over ssh. The default editor that students were taught to use was emacs in CLI mode over the ssh connection, but people could choose to use what they wanted. I ended up using and truly learning how powerful Vim was just in that first semester.
@kuhluhOG
@kuhluhOG 8 ай бұрын
"ssh" so, basically everything can be used I mean, have you heard of sshfs? Yes, thanks to fuse one can network mount a directory of a remote system over ssh.
@Thorhian
@Thorhian 8 ай бұрын
@@kuhluhOG Indeed, and I did end up doing that at one point. However, you have to realize that this was the intro CS class. A lot of people had no clue what SSH even was in the first place when they started the class.
@kuhluhOG
@kuhluhOG 8 ай бұрын
@@Thorhian my uni has explicit (voluntary but recommended) Linux courses for that
@markmywords3817
@markmywords3817 3 ай бұрын
​@@kuhluhOGyou guys are even lucky to even come upon that class. I had to stumble upon vim and ssh all on my own as my intro to CS class was very IDE heavy and it was required we had to use the Eclipse editor 😂 (I attended intro to CS but I was in a different course and didn't know I was gonna like programming as a career)
@dinckelman
@dinckelman 8 ай бұрын
I really enjoy nvim for quick edits, but when it comes to a full environment, I just find Code with telescope and harpoon much more convenient. What would take me 5 keybinds in a nvim addon, is just one or two clicks away in this editor. But it's always like Prime says - choose what is faster for you
@ivanjermakov
@ivanjermakov 8 ай бұрын
You know you can set up keybind to do any action or multiple actions combined?
@theherk
@theherk 8 ай бұрын
Clicks? What are those? 😅
@vikingthedude
@vikingthedude 8 ай бұрын
vscode with telescope? how do you do that?
@itztlacoliuhqui
@itztlacoliuhqui 8 ай бұрын
​@@vikingthedude ctrl+p lol
@titopowlo
@titopowlo 6 ай бұрын
@@ivanjermakovyes but people prefer something else like clicking a button instead of memorizing an extra keybind
@rocstar3000
@rocstar3000 8 ай бұрын
15:47 - Vim is like laughing in Brazilian
@pesterenan
@pesterenan 8 ай бұрын
I've been using only Neovim since I started watching your channel (subbed btw) and can't get back to VSCode anymore. I work with JavaScript and mess with Java in my hobby projects. It not only increase my ability to type but also my ability to navigate code. Thanks Prime!
@vikingthedude
@vikingthedude 8 ай бұрын
same. i uninstalled vscode
@windows99
@windows99 8 ай бұрын
Do you use Vim for Java coding?
@pesterenan
@pesterenan 8 ай бұрын
@windows99 yep, neovim, it was hard to configure jdtls, but I managed to do it.
@danielho5635
@danielho5635 8 ай бұрын
To prevent RSI (Repetitive Strain Injury) and CTS (Carpal Tunnel Syndrome), people should look into alternate keyboard layouts, split keyboards, and trackballs. I've been typing on the computer for 40 years and the last 10 switched from QWERTY to Colemak. I tried Dvorak 38 years ago and hated it because it over-stressed my ring and pinky fingers. I also use Kinesis split keyboard(s) and various trackballs including my current Elecom Huge. I did all this because I started experiencing RSI and numbing in my fingers. All my RSI, CTS, and finger-numbing went away quickly after switching to the split keyboard. My fingers were much less tired at the end of the way when I switched to the Colemak layout.
@marcioandreyoliveira
@marcioandreyoliveira 8 ай бұрын
May I ask which keyboard model are you using? Thanks.
@Xe054
@Xe054 8 ай бұрын
I used to game heavily and would get pain on my left hand from using the wasd movements. I knew I had to prioritize my physical health going forward. Fast forward to today, I'm now learning Colemak-dh, typing at a mere 24wpm for now, but being able to keep my fingers on the home row is such a huge improvement over QWERTY. Switching over to a split keyboard like the Moonlander would probably make a big difference, too. I keep hearing how great Vim motions are, so maybe I'll learn that next.
@alexaneals8194
@alexaneals8194 8 ай бұрын
Sad to say my first program environment was hitting the LRN key on a TI-58 calculator (later upgraded to TI-59). Next was the TRS-80 Model 1 Level II with all of it's 16K of Memory which my uncle later upgraded to a whopping 32K. From that I moved to edlin, debug, and edit in DOS. My first true IDE was Turbo C++ and TASM. I am mainly a Windows user (although I have Fedora on my personal machine) and I still call them directories.
@cyberflaw_
@cyberflaw_ 8 ай бұрын
I used to get very much attached to the code i write which hamperd me from doing things like rewrites and trying new approaches unless I'm fully sure if its gonna work. Once i learned proper touch typing and learned the essential vim bindings i feel I'm not soo much attached to my code as a result i can do much more things efficiently. I genuinely feel really awkward and sad if i have to code without vim for an extensive period
@vikingthedude
@vikingthedude 8 ай бұрын
yeah "code is cheap" is what i remind myself so that i don't get attached to it
@Rockem1234
@Rockem1234 7 ай бұрын
The mindset of neovim is actually to configure it, then use it. Because you need a lot of time to configure it to get to a state you get out of the box with other editors. Always find it tedious and I never get to a point where I’m comfortable enough. Same as Emacs. And it’s a shame cause I really love the concept
@jzmmm
@jzmmm 8 ай бұрын
19:50 - I did the same early last week. After ~7yrs of completely switching to vscode and giving up on maintaining my vim config, i went down the rabbit hole with neovim thanks to you. (I've used vim keys in every editor i've used (even the OG visual studio) since 2011). I found (at least on macos(M2 macbook pro) using tmux + multiple different terminals - wezterm, iterm2, kitty) that neovim was MUCH slower on a big monorepo than vscode. So i've migrated a lot of the newly found shortcuts into vscode (replaced the vim binds plugin with the neovim vscode plugin) so i can navigate around tmux+vim style in vscode without the downsides. So my week of intense vim config-fu wasn't entirely wasted (also learnt lua in the process which is a win).
@Phaceial
@Phaceial 8 ай бұрын
X to doubt. Even with Rosetta translation, all things being equal, there's no way an electron based app is loading anything faster than a binary.
@theherk
@theherk 8 ай бұрын
I use wez and nvim all day everyday including on massive monorepos and have experienced no such thing, even on the arm procs. I also have VSCodium installed to test some plugins. It never even comes close to the speed of neovim so I don’t know what you did to your config… but something was out of place.
@gnikdroy
@gnikdroy 6 ай бұрын
This is very unlikely. core neovim is extremely fast. just try opening any file with `nvim --clean` or `nvim --noplugin` to see the difference. You probably misconfigured a plugin.
@cloudenvying
@cloudenvying 6 ай бұрын
lol about the organizing. I used to fold my socks together and that took forever. Now I put all my socks into the sock bin.
@SpazeUnofficials
@SpazeUnofficials 6 ай бұрын
lol that opening meme is such a 10/10 "why would I ever exit Vim?"
@SpikeTaunt
@SpikeTaunt 8 ай бұрын
notepad++ is my favorite editor overall, i would never use it as my coding tool but it comes handy in so many ways and its so lightweight
@water_melon_9000
@water_melon_9000 8 ай бұрын
The best editor for hacking ini files 😅
@marlopainter8246
@marlopainter8246 5 ай бұрын
Edit in Notepad++ is my fave right click menu item. I can have more tabs in Notepad++ than Chrome. I love how I can open something, close it, and open it right back up later in the same state.
@StephenPierceT13
@StephenPierceT13 5 ай бұрын
You convinced me to switch to Vim, and as much annoyance as I get from watching you use Vim better than I can right now, it inspires me to move forward.
@theangelofspace155
@theangelofspace155 8 ай бұрын
Im still at 7:12, but I wanted to mentioned that im taking my first programing class next semester, and they ide they use is eclipse, first weeks is all about setting it up. I already asked in the discord, I will only use ot for the debug, and class assignments that need it, and use my editor the rest of the time (vscode 😢, but I installed the vim motion plugin and setuo my neovim so I can do the move as I learn).
@DangerHiVolt
@DangerHiVolt 6 ай бұрын
Dude!! Im from Bozeman!! Been listening to you for a while since ive picked up python and arch linux.
@TFitz
@TFitz 8 ай бұрын
I keep notepad++ open for some config files and real basic text stuff. And oh man, when I learned Java back in '02, I programmed it in notepad-- ... what a pain. I thought the Boreland IDE was the next thing since sliced bread when I was turned onto it.
@Guillen8606
@Guillen8606 6 ай бұрын
You got me off my chair when you said NETBEANS !! Hell yeah
@WilliamShrek
@WilliamShrek 7 ай бұрын
What Linux distro are you using? macOS
@vrooks4979
@vrooks4979 8 ай бұрын
in cs 270 right now where we are learning Linux. our vim section was literally you will never use it. I for edit and escape for normal mode was all that was on the midterm. I thought it looked pretty cool. after this video I will learn it.
@DEVDerr
@DEVDerr 8 ай бұрын
I wish I could use something like Neovim, but without needing to relearn everything about how to navigate through text. I get that Vim way can be superior, but I would much rather use CUA keybindings, since I can use them in any other program that can edit some text without any configuration. Switching between modes can stay, just give me my glory arrows + alt/ctrl + shift keys to modify text quickly
@shock9616
@shock9616 8 ай бұрын
My progression of main editors (There were a TON of other ones that I tried, but these are the ones I've actually used significantly: - IDLE (because I learned Python first) - Sublime (because I wanted a "cool" editor with line numbers) - PyCharm (because I wanted to look like I knew what I was doing) - Sublime again (because PyCharm was too much) - VS Code (because it had some plugins I couldn't find Sublime equivalents for) - NeoVim! (because I have now seen the light)
@mohamedmurshid9794
@mohamedmurshid9794 8 ай бұрын
Hey Prime. I think you should make a video on how to configure dap to debug applications in Neovim. it might be a single reason some people are still not using neovim as their IDE.
@TomNook.
@TomNook. 8 ай бұрын
Surely most companies restrict employees on the software they use.
@stanrock8015
@stanrock8015 8 ай бұрын
Noooope
@ssshenkie
@ssshenkie 8 ай бұрын
Never worked in a company that did.
@thegreatbambino3358
@thegreatbambino3358 8 ай бұрын
Mostly nope
@AmonAsgaroth
@AmonAsgaroth 8 ай бұрын
Most only make sure that you have a valid license and maybe force you to use a specific OS on company machines so they can setup company-wide security stuff (group policies on ad domains and whatnot). They are completely fine with FOSS.
@TheDanVail
@TheDanVail 8 ай бұрын
I was forbidden from using WSL :( windows is not dev friendly.
@AlJey007
@AlJey007 8 ай бұрын
I went from textmate to sublime and then to vscode. Each transition was irreversible, I could never go back. Right now, my dream editor would be vscode, but with the performance of sublime.
@zefault
@zefault 3 ай бұрын
did you try Zed?
@AlJey007
@AlJey007 3 ай бұрын
@@zefault PC master race over here :D Maybe I'll try it out when they make a version for Windows.
@charlesbenca5357
@charlesbenca5357 4 ай бұрын
something everyone should do if using emacs is to go in your keyboard settings and remap the capslock key to be another ctrl left key.
@alejandroulisessanchezgame6924
@alejandroulisessanchezgame6924 8 ай бұрын
How i can configure telescope to get the search bar over the file screen not below?
@sealer1675
@sealer1675 6 ай бұрын
Once I learned how to ssh-remote and adjust a few crucial shortcuts, vscode became my goto for everything. It's really versatile.
@massy-3961
@massy-3961 8 ай бұрын
0 indexed comment
@everything-narrative
@everything-narrative 3 ай бұрын
I used Vim and then NeoVim for about 8 years, through my entire university education. I have written mid-sized software projects in it, large LaTeX papers, and entire books in it. Then I switched to VSCode at the behest of my best friend, for Rust development. And now I don't need to go back. I spend more time thinking than typing, and LSP/IDE features give me more productivity than modal editing ever did.
@tamertamertamer4874
@tamertamertamer4874 8 ай бұрын
Me listening to this this as someone that almost only uses VSCode (something sublime or IntelliJ/android studio etc...) The only times I ever use vim is when I need to change a few lines on a server or something
@jfftck
@jfftck 8 ай бұрын
I want new keyboard codes for VI/VIM motions and modifiers, so all text entry fields would act like VIM when using a keyboard that is fully customizable and supports layers. This would elevate these types of keyboards to a level that would quickly justify paying more for them. Also, having OS level support would make learning VIM easier as every application would use the same inputs. This would fix the biggest issue I have with VIM, having to toggle between modes. I am more of a hold than a toggle layers person and VIM motions using a hold/toggle layer mode would allow me to use the motions I need and then switch back when I let go of the layer modifier key, but I could also have the VIM experience when I tap to toggle to that layer.
@noredine
@noredine 8 ай бұрын
Why did google tell me "Did you mean: vi" when I googled "emacs"? 🤣
@harleyspeedthrust4013
@harleyspeedthrust4013 8 ай бұрын
that's a google easter egg, try googling "vi"
@ChristopherLowery
@ChristopherLowery 6 ай бұрын
So, I have to ask, as someone who uses Dvorak...how do you do basic navigation in vim? Since the base movement keys are nowhere near each other... Weirdly probably the biggest thing still keeping me from going more hardcore into vim, since I still wind up using the arrow keys which is supposed to be "bad"
@ripizhonubi7472
@ripizhonubi7472 5 ай бұрын
noremap s l, with all four keys (in my case rtns
@YalreadyKnowit
@YalreadyKnowit 7 ай бұрын
Oh my God... Eclipse... That brings me back
@jesselawrence336
@jesselawrence336 8 ай бұрын
From that moment...Prime decided to surgically attach a hoodie to his body
@undergrounder
@undergrounder 8 ай бұрын
Yeah, your neovim setup sucked when I first watched. But it motivated me, and today I only use Neovim (NvChad). I really appreciated. Thank you!
@theangelofspace155
@theangelofspace155 8 ай бұрын
At 13:15, did he say dvorak? How mind breaking is switching? Will you eill every be able to use a regular keyboard, or your phone? Does your miscle memory get untrained?
@TangoFoxtrotWhiskey
@TangoFoxtrotWhiskey 8 ай бұрын
From what I read most people can go from Colemak to Qwerty and back without any problems after learning both. It's probably the same for Dvorak. I, however, am not most people. I carry a Planck keyboard in my bag in case I need to type.
@victorcadillogutierrez7282
@victorcadillogutierrez7282 8 ай бұрын
I worked in VSCode for 4 year or so, but I always felt a pain in the ass to use the mouse from time to time, it always interrupted my workflow; only used Vim for some quick changes on bash, and decided to give it a serious effort learning the commands, it can be quite a pain in the ass to understand it and use it but I love how it helps with my posture and ergonomics.
@dubiouslycrisp
@dubiouslycrisp 8 ай бұрын
Ubuntu is supposed to be pronounced oo-boon-too. They explained it on their website years ago, and what it means, which was something like communal effort, working together in harmony, and that it's taken from an African language. Dunno if they still explain it on their site.
@FrankJonen
@FrankJonen 8 ай бұрын
Did my first website with Netscape Composer and Notepad on Windows 3.11/NT. With the stack we have now, I’d flip if I had to use anything like that.
@user-mikesmith
@user-mikesmith 8 ай бұрын
I think people would be better off picking editor based on what’s best for the task they are doing rather than rigid favorites: 1. Quick edit: Needs fast startup time and fast editing. Vim is hard to beat here. 2. Programming that adapts to a broad range of environments and languages: Neovim/VsCode both great here. It’s just personal preference and what people enjoy. 3. Speciality editors for certain operating systems/languages/and tasks: Jetbrains makes great products here. For something like video game development on Windows in C++, that combination is where people use Visual Studio. It’s built for that kind of task with high end commercial extensions and it’s more productive there. It’s ok to use a combination of editors. If you have a work environment where you can simplify to one in category 2 that’s great. But the mindset of “I must use editor x only” may be missed opportunity of finding something better for a certain task.
@user-mikesmith
@user-mikesmith 8 ай бұрын
The quality of the LSP, debugging, performance tools matter so that you can use the more advanced refactoring and code generation features and get to correctness/speed more efficiently. For C++ for example, if you have approximate information like neovim/vscode, then it’s great for parameter completion, navigation, references, and basic code actions but it wouldn’t be trusted to do a large refactor or write code for you since the approximate information could make mistakes. If you have near fully correct language server knowledge of the codebase, it unlocks another level of capability where your editor can make large sweeping changes correctly for you or type large volumes of boilerplate. That level of experience only works in very specialized editors, languages, and operating system combinations though. For most things, neovim/vscode is best. It’s not about “what you need at a basic level”, it’s about what saves you time. For game development, debugging complex problems and performance optimization need to be effortless and large editor code changes need to be bug free. It’s a specialized need with specialized tools because it is not what 95% of developers need.
@NC-nc3gs
@NC-nc3gs 8 ай бұрын
Waiting for you re-work on neovim config from ground up primogen.
@tita8bit
@tita8bit 8 ай бұрын
I started using vim in 2012. I abandoned it for reasons i can no longer remember in 2018. Now I'm back with nvim thanks to that nvim setup video you had @ThePrimeTime Opening my editor has never made me as happy as it does now.
@iivarimokelainen
@iivarimokelainen 6 ай бұрын
I've never seen anything done in vim that i can't do as quickly in jetbrains IDE. if you learn any good IDE as much as you spend time learning vim - you're gonna be as good.
@victorthevictor1976
@victorthevictor1976 5 ай бұрын
I agree. I use Dev-C++ right now, and I mean whatever can edit source files and set stuff to compile is good so long as you know what you're doing
@kuhluhOG
@kuhluhOG 8 ай бұрын
23:30 Yes, learn your environment, but you don't need to use vim for that (actually, that's the reason why a lot of teachers start with Notepad++ instead of an IDE). But I for example will likely never really learn vim motions. Basically everyone I talked to who learned it shares the opinion that learning it isn't really worth it if you don't do touch typing. And while I can do it, I hate it for one very simple reason: My hands starts to hurt from the finger position after about half an hour. I only have that problem with touch typing. (fyi: I use my own style instead which is still pretty fast.) And quite frankly, when everyone I talked to says B isn't worth it without using A and I dislike A, what should be my motivation for learning B?
@patrickprucha5522
@patrickprucha5522 7 ай бұрын
Hey. In one of your video's i said i had switched to vim for everything. I had spent lots of time going over vim. I figured, to get good at anything, you need to practice. Vim has its strong points. I am no where like others are with vim. I see one guy go through vim so fast i haven't got a clue what he did. All i know is that I will never get there. I like to script. I also take lots of notes on things i learn. I also have links in my documents to other documents or web links. Out of the ones i have installed, actually micro is the best. Nowhere as powerful, "per se" as vim, but it does include a lot out of the box in a small package. The folks that put together micro did a pretty good job for what it offers out of the box to let you start running and getting things done. So a dieu to vim. Micro even has things that other more popular apps don't have! Cheers. There will be those for vim, and those not!
@anon746912
@anon746912 8 ай бұрын
Wait so vim is just a text editor with funky keyboard navigation controls?
@AsbestosSoup
@AsbestosSoup 8 ай бұрын
Prime when is the optimized neovim config vid coming out
@alexpsps
@alexpsps 7 ай бұрын
When Prime says SUBSCRIBE the button is literally glowing tf??!! Is that a new feature?
@DylanMatthewTurner
@DylanMatthewTurner 8 ай бұрын
"I was dabbling in Notepad++" Windows dev moment lol
@bradfin12
@bradfin12 2 ай бұрын
My editor experience has been wonky. Notepad>Notepad++>python ide>eclipse>visual studio Currently making a concerted effort to learn vim.
@makhmudjonjamoldinov3554
@makhmudjonjamoldinov3554 7 ай бұрын
Is vim worth learning for web developers?
@quarteratom
@quarteratom 8 ай бұрын
In Vim, you move around the text with the arrow keys.
@userasd360
@userasd360 8 ай бұрын
can you share your dotfiles for fish shell, tmux and vim/nvim if possible
@VietTranPhuoc
@VietTranPhuoc 8 ай бұрын
I was lucky when I started using vim, VSCode hadn't been born. It was an obvious choice for me then between vim and Sublime. Btw, I used to ssh to servers back then
@shortscouture1
@shortscouture1 Ай бұрын
Oh my god I remember my Java professor made us use Eclipse, I don't know how I survived the whole ordeal.
@Tobsson
@Tobsson 8 ай бұрын
I have trouble typing anything that doesnt have key bindings. Even in comments here on youtube I find myself typing esc vggd or something stupid.
@Sameer.Trivedi
@Sameer.Trivedi 8 ай бұрын
In india they still force you to use Turbo C++. I learned programming in C++ 98 when C++11 was already out 😂
@cerecero
@cerecero 19 күн бұрын
What are gnu tools?
@watchchat
@watchchat 8 ай бұрын
Lol same but it’s just part of my day, muscle memory….my shirts are organized by type and color 🤣
@jacobwhitecotton
@jacobwhitecotton 2 ай бұрын
my intro to cs class had us install eclipse :( i switched to vs code soon after
@DesignedByMayo
@DesignedByMayo 13 күн бұрын
Amen brother. Same “socks club”!
@jordanmancini
@jordanmancini 2 ай бұрын
So I learned Java with Eclipse because I wanted to make Minecraft mods, when I took my first CS class 5 years later, we started with BlueJay and then went to Eclipse. When I stopped writing in Java I switched to VSCode and now if I need to touch Java I use IntelliJ. Maybe I should just learn VIM at this point and have 1 true editor for everything
@user-hc4we4kb4j
@user-hc4we4kb4j 8 ай бұрын
How do you run code in neovim
@Lestibournes
@Lestibournes 4 ай бұрын
I used to write JS, CSS, and HTML in Notepad. Not Notepad++, just plain old MS Notepad. And Java with pen and paper or Eclipse. Eventually I upgraded to gEdit. Nowadays I'm on VS Code.
@firemyst9064
@firemyst9064 3 ай бұрын
THE SOCKS HACK!!! I buy the same socks too, never have to figure out which socks will match. Same fucking brand and 10 pack every time.
@geomorillo
@geomorillo 8 ай бұрын
i use vscode i tried to switch to vim or similars and never worked for me so i just use vscode and jetbrains
@MuhammadArshad
@MuhammadArshad 8 ай бұрын
Lol, I bought the exact same shoes for 4 years from the exact same shop (and I still do :D)😊
@SushritPasupuleti
@SushritPasupuleti 8 ай бұрын
Didn't expect my ultra instinct meme from r/programmerhumour to make an appearance lol
@maximotejedapozo9335
@maximotejedapozo9335 8 ай бұрын
I don't really get it, why Vim motions? To maintain 2 set of keybindings? The reason I use emacs is that the same keybindings are used on my terminal emulator CTR-a, CTR-e, CTR-n etc etc
@theherk
@theherk 8 ай бұрын
Did you know the major shells support vi motions too? I use nvim, emacs, zsh, and fish all with vi motions.
@maximotejedapozo9335
@maximotejedapozo9335 8 ай бұрын
@@theherk I assume you have to configure them, I mean I pop up a shell in any server an no vi motion is set by default
@maximotejedapozo9335
@maximotejedapozo9335 8 ай бұрын
I see some people use evil-mode and I don't really get it, each time I get trapped inside Vim because of EDITOR settings I go like WTF, I only know one thing ":wq" and I think ":!q" 😅
@TangoFoxtrotWhiskey
@TangoFoxtrotWhiskey 8 ай бұрын
It's a single command to switch from emacs bindings to vi bindings in zsh. I would guess it's similar for bash and fish. Conveniently that command is in the default zshrc as well, so you can reference it with minimal effort.
@rayantovi
@rayantovi 8 ай бұрын
its a progress thing, once you reach a certain level the only editors you’ll debate about is Vim and Emacs (but you will eventually settle with vim)
@nitsujism
@nitsujism 8 ай бұрын
Or you'll sack both of them off and use a Jetbrains IDE. Or VSCode.
@TangoFoxtrotWhiskey
@TangoFoxtrotWhiskey 8 ай бұрын
Why not both? Doom, ftw.
@PepsiMaxVanilla
@PepsiMaxVanilla 8 ай бұрын
hype hype hype
@too1leasy
@too1leasy Ай бұрын
I use vim often, as an editor when I SSH or to edit simple files. Claiming Vim is the best for IDE usage in [current year] is like people still claiming manual transmissions are better. It's not, they're not.
@abdulazizaskaraliev6119
@abdulazizaskaraliev6119 8 ай бұрын
I have been using vscode for a long time and now after a couple years I feel like I am not as fast as I want and can. I wanna switch to VIM. But now am really busy that I don't have time to learn vim. Now if I use VIM before I am even more slower than I am in vscode. And I know VIM can be super fast if you get good at it. This sucks
@gabrielomane-yeboah
@gabrielomane-yeboah 7 ай бұрын
We also used BlueJ for half the semester, then switched to Eclipse We never understood anything
@TheSulross
@TheSulross Ай бұрын
Years of near constant interaction with remote Linux servers via ssh will grind one into utter submission to the austere, monasterial lifestyle of the basic universal Unix tooling and vi/vim text editing. Have only encountered one occassion where vim was not installed already (but soon remedied - that disto maintainer was clearly on the loose from a mental facility as the only text editor was nano). And never encounter any other shell than bash. To fight bash, to fight vim, to fight the core command line Unix tools is to fight life itself. It would be a self-inflicted fate worse than that dude Syphusus that is forever condemned by the gods to push a boulder up a hill.
@m4rt_
@m4rt_ 8 ай бұрын
I have programmed in Java and I program in it from time to time. I don't hate it, but I prefer other languages and would avoid it if I can, but it wouldn't be the end of the world if I had to use it.
@explosionspin3422
@explosionspin3422 8 ай бұрын
hype
@_manne
@_manne 8 ай бұрын
hype hype
@ankitsanghi
@ankitsanghi 8 ай бұрын
We used BlueJ too and I didn't know you could even run Java without it lol
@mtheoryx83
@mtheoryx83 7 ай бұрын
It's OURbuntu, comrade
@bradfin12
@bradfin12 2 ай бұрын
I always thought vi was interesting and I could see some of the benefits of it but thought that the learning curve from the GUI experience to the cli editor wasn't worth the payoff. Then I saw your video and you edited code faster than I could even read it.
@Pukkah
@Pukkah 8 ай бұрын
When I started learning vim motions, I found it easier to just go all in with Neovim, as it felt much more difficult to configure vscode for fluid experience.
@bstar777777
@bstar777777 8 ай бұрын
Real question... my son is looking at CS programs. Should we be avoiding Java oriented programs- or does it not matter all that much? I just don't have any perspective on this one... I learned CS backwards and avoided Java like the plague which resulted in a pretty solid career. I'm afraid the Java will make development a chore for him.
@marcioandreyoliveira
@marcioandreyoliveira 8 ай бұрын
I developed professionally in Java for many years. I HATE it. I even removed it from my resumé. In a world with so many wonderful programming languages, why one would use Java? Do him a favor: don't let him get near Java.
@nikolaygruychev2504
@nikolaygruychev2504 6 ай бұрын
does not matter. just make sure he doesn't need to use spring boot for anything, or he's gonna have mental health problems down the line (me right now🥲)
@costadekiko
@costadekiko 8 ай бұрын
10:55 Poor Prime thinks it all went away, but almost all of his highlights must be without the first and the last character of the piece of text... By now he has programmed me to check for it to the point that when it doesn't happen, I think "What are you doing there, that's not how you are supposed to highlight text!". Meta-OCD...
@Ohmriginal722
@Ohmriginal722 8 ай бұрын
OCD means it never, "just goes away" like you can't learn from it no matter how many come to your senses moments you have
@WilliamShrek
@WilliamShrek 7 ай бұрын
This is my podcast channel.
@capt8
@capt8 3 ай бұрын
They used BluJ at my University... in 2018
@ImGeneralJAckson
@ImGeneralJAckson 6 ай бұрын
buying all the same socks changed my life.
VIM isn't about speed
40:00
ThePrimeTime
Рет қаралды 143 М.
Prime React: Fast Inverse Square Root - A Quake III Algorithm
30:19
ThePrimeTime
Рет қаралды 147 М.
New Gadgets! Bycycle 4.0 🚲 #shorts
00:14
BongBee Family
Рет қаралды 19 МЛН
Купили айфон для собачки #shorts #iribaby
00:31
Пробую самое сладкое вещество во Вселенной
00:41
Кушать Хочу
Рет қаралды 4,4 МЛН
The Perfect Programming Language
23:50
ThePrimeTime
Рет қаралды 349 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 993 М.
DjangoCon US 2023: Don't Buy the "A.I." Hype
26:09
Tim Allen
Рет қаралды 14 М.
Is Stack OverFlow Evil? | Prime Reacts
38:13
ThePrimeTime
Рет қаралды 200 М.
Vim vs NeoVim, What's the Difference?  Which Should You Use?
10:29
Mental Outlaw
Рет қаралды 311 М.
How I Failed My Netflix Interview | Prime Reacts
30:49
ThePrimeTime
Рет қаралды 274 М.
The BEST Way To Become A Software Engineer
14:45
ThePrimeTime
Рет қаралды 168 М.
Vim vs Emacs | Prime Reacts
15:56
ThePrimeTime
Рет қаралды 133 М.
Prime Reacts: From C to C++ to Rust to Haskell
40:54
ThePrimeTime
Рет қаралды 286 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 6 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 1,9 МЛН