From VSCode To Vim | Prime Reacts

Поділитися
Вставка
  • Опубліковано 13 жов 2023
  • 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
  • Наука та технологія

КОМЕНТАРІ • 349

  • @adventuresinbytes
    @adventuresinbytes 7 місяців тому +556

    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 6 місяців тому +7

      😂😂😂😂

    • @hebinyao709
      @hebinyao709 5 місяців тому +42

      It’s actually pretty easy. You just need to hold down the power button for a few seconds.

    • @russellbusch
      @russellbusch 5 місяців тому +8

      :q is the *only* thing I know in vim.

    • @davidoyinbo4591
      @davidoyinbo4591 5 місяців тому +1

      🤣🤣🤣

    • @salaheddine.el-farissi
      @salaheddine.el-farissi 4 місяці тому

      HHHHHHHHHHHHHHHHH

  • @brandonkeffer5752
    @brandonkeffer5752 7 місяців тому +390

    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 7 місяців тому +36

      That’s a true torture-test!

    • @ristekostadinov2820
      @ristekostadinov2820 7 місяців тому +21

      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 7 місяців тому +18

      Man eclipse is just disgusting. I'd rather not get any IDE features than use that piece of crap again.

    • @rogergalindo7318
      @rogergalindo7318 7 місяців тому +6

      my data structures professor is a OOP ™ type, make everything a class, including your program

    • @rogergalindo7318
      @rogergalindo7318 7 місяців тому +3

      and it’s not even java or c#, it’s c++…

  • @Sameer_Kumar
    @Sameer_Kumar 7 місяців тому +96

    Thanks prime.
    The name is Sameer, author of this silly piece. 😅

    • @PristinePerceptions
      @PristinePerceptions 3 місяці тому +4

      Correction: Vim-eer 😏

    • @airkami
      @airkami Місяць тому +2

      Thanks for sharing your story!

    • @airkami
      @airkami Місяць тому

      How do I ninja learn the bindings?

    • @Sameer_Kumar
      @Sameer_Kumar Місяць тому +3

      @@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.

  • @80sixd
    @80sixd 7 місяців тому +62

    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 місяці тому +2

      wtf

    • @shakram2774
      @shakram2774 Місяць тому +1

      HUH

    • @airkami
      @airkami Місяць тому +8

      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 Місяць тому +1

      To add context I was also a student. I’ve never been a professor but I was tutoring the person.

  • @FraserChapman
    @FraserChapman 7 місяців тому +122

    My first editor was...an actual notepad and a pen. Scribing down machine code and assembly mnemonics for the Z80 🙃

    • @user-gp7kn1su1u
      @user-gp7kn1su1u 7 місяців тому +18

      I have no idea what that is but i give utmost respect.

    • @VivekYadav-ds8oz
      @VivekYadav-ds8oz 7 місяців тому +12

      So you didn't even write assembly? You wrote actual binary 1s and 0s? 💀

    • @FraserChapman
      @FraserChapman 7 місяців тому

      @@VivekYadav-ds8oz hex not binary - I'm not a monster.

    • @gregvanpaassen
      @gregvanpaassen 7 місяців тому +3

      "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 7 місяців тому +6

      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.

  • @jgdovin1
    @jgdovin1 7 місяців тому +24

    My friend bought me a copy of winrar for my birthday 8 years ago as a joke

  • @jzmmm
    @jzmmm 7 місяців тому +20

    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 7 місяців тому +41

    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.

  • @ericr5481
    @ericr5481 7 місяців тому +72

    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 7 місяців тому

      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 7 місяців тому +41

      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 7 місяців тому +1

      A week from now? Longer.

    • @jackdanielson1997
      @jackdanielson1997 7 місяців тому +11

      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.

  • @rocstar3000
    @rocstar3000 7 місяців тому +11

    15:47 - Vim is like laughing in Brazilian

  • @genstian
    @genstian 7 місяців тому +10

    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,

  • @cosecseccot
    @cosecseccot 7 місяців тому +5

    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 !!!

  • @dinckelman
    @dinckelman 7 місяців тому +41

    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 7 місяців тому +1

      You know you can set up keybind to do any action or multiple actions combined?

    • @theherk
      @theherk 7 місяців тому +3

      Clicks? What are those? 😅

    • @vikingthedude
      @vikingthedude 7 місяців тому

      vscode with telescope? how do you do that?

    • @itztlacoliuhqui
      @itztlacoliuhqui 7 місяців тому +7

      ​@@vikingthedude ctrl+p lol

    • @titopowlo
      @titopowlo 6 місяців тому

      @@ivanjermakovyes but people prefer something else like clicking a button instead of memorizing an extra keybind

  • @Thorhian
    @Thorhian 7 місяців тому +7

    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 7 місяців тому +1

      "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 7 місяців тому +1

      @@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 7 місяців тому

      @@Thorhian my uni has explicit (voluntary but recommended) Linux courses for that

    • @markmywords3817
      @markmywords3817 2 місяці тому

      ​@@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)

  • @danielho5635
    @danielho5635 7 місяців тому +11

    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 7 місяців тому +1

      May I ask which keyboard model are you using?
      Thanks.

    • @Xe054
      @Xe054 7 місяців тому +2

      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.

  • @shock9616
    @shock9616 7 місяців тому +20

    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)

  • @jzmmm
    @jzmmm 7 місяців тому +11

    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 7 місяців тому +1

      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 7 місяців тому +2

      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 5 місяців тому +1

      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.

  • @noredine
    @noredine 7 місяців тому +5

    Why did google tell me "Did you mean: vi" when I googled "emacs"? 🤣

  • @Rockem1234
    @Rockem1234 7 місяців тому +5

    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

  • @cloudenvying
    @cloudenvying 6 місяців тому +2

    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.

  • @pesterenan
    @pesterenan 7 місяців тому +3

    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 7 місяців тому +2

      same. i uninstalled vscode

    • @windows99
      @windows99 7 місяців тому +1

      Do you use Vim for Java coding?

    • @pesterenan
      @pesterenan 7 місяців тому

      @windows99 yep, neovim, it was hard to configure jdtls, but I managed to do it.

  • @alexaneals8194
    @alexaneals8194 7 місяців тому +1

    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.

  • @SpazeUnofficials
    @SpazeUnofficials 6 місяців тому +1

    lol that opening meme is such a 10/10
    "why would I ever exit Vim?"

  • @SpikeTaunt
    @SpikeTaunt 7 місяців тому +21

    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 7 місяців тому +4

      The best editor for hacking ini files 😅

    • @marlopainter8246
      @marlopainter8246 4 місяці тому +2

      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.

  • @TomNook.
    @TomNook. 7 місяців тому +46

    Surely most companies restrict employees on the software they use.

    • @stanrock8015
      @stanrock8015 7 місяців тому +1

      Noooope

    • @ssshenkie
      @ssshenkie 7 місяців тому +6

      Never worked in a company that did.

    • @thegreatbambino3358
      @thegreatbambino3358 7 місяців тому +1

      Mostly nope

    • @AmonAsgaroth
      @AmonAsgaroth 7 місяців тому +19

      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 7 місяців тому +13

      I was forbidden from using WSL :( windows is not dev friendly.

  • @AlJey007
    @AlJey007 7 місяців тому +7

    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 2 місяці тому

      did you try Zed?

    • @AlJey007
      @AlJey007 2 місяці тому +1

      @@zefault PC master race over here :D Maybe I'll try it out when they make a version for Windows.

  • @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.

  • @bigboibruh3176
    @bigboibruh3176 7 місяців тому +4

    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 7 місяців тому

      yeah "code is cheap" is what i remind myself so that i don't get attached to it

  • @TFitz
    @TFitz 7 місяців тому +1

    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.

  • @massy-3961
    @massy-3961 7 місяців тому +11

    0 indexed comment

  • @theangelofspace155
    @theangelofspace155 7 місяців тому

    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).

  • @Guillen8606
    @Guillen8606 6 місяців тому

    You got me off my chair when you said NETBEANS !! Hell yeah

  • @jesselawrence336
    @jesselawrence336 7 місяців тому

    From that moment...Prime decided to surgically attach a hoodie to his body

  • @jfftck
    @jfftck 7 місяців тому

    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.

  • @iivarimokelainen
    @iivarimokelainen 5 місяців тому +2

    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 місяців тому +1

      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

  • @vrooks4979
    @vrooks4979 7 місяців тому

    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.

  • @tamertamertamer4874
    @tamertamertamer4874 7 місяців тому +1

    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

  • @alejandroulisessanchezgame6924
    @alejandroulisessanchezgame6924 7 місяців тому

    How i can configure telescope to get the search bar over the file screen not below?

  • @StephenPierceT13
    @StephenPierceT13 4 місяці тому

    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.

  • @DEVDerr
    @DEVDerr 7 місяців тому

    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

  • @sealer1675
    @sealer1675 6 місяців тому +5

    Once I learned how to ssh-remote and adjust a few crucial shortcuts, vscode became my goto for everything. It's really versatile.

  • @DylanMatthewTurner
    @DylanMatthewTurner 7 місяців тому +1

    "I was dabbling in Notepad++"
    Windows dev moment lol

  • @charlesbenca5357
    @charlesbenca5357 3 місяці тому

    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.

  • @bradfin12
    @bradfin12 Місяць тому +1

    My editor experience has been wonky.
    Notepad>Notepad++>python ide>eclipse>visual studio
    Currently making a concerted effort to learn vim.

  • @FrankJonen
    @FrankJonen 7 місяців тому

    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.

  • @YalreadyKnowit
    @YalreadyKnowit 7 місяців тому

    Oh my God... Eclipse... That brings me back

  • @DangerHiVolt
    @DangerHiVolt 6 місяців тому

    Dude!! Im from Bozeman!! Been listening to you for a while since ive picked up python and arch linux.

  • @user-mikesmith
    @user-mikesmith 7 місяців тому +17

    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 7 місяців тому +3

      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.

  • @mohamedmurshid9794
    @mohamedmurshid9794 7 місяців тому

    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.

  • @kuhluhOG
    @kuhluhOG 7 місяців тому +1

    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?

  • @NC-nc3gs
    @NC-nc3gs 7 місяців тому +3

    Waiting for you re-work on neovim config from ground up primogen.

  • @undergrounder
    @undergrounder 7 місяців тому +1

    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!

  • @dubiouslycrisp
    @dubiouslycrisp 7 місяців тому +1

    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.

  • @shortscouture1
    @shortscouture1 Місяць тому

    Oh my god I remember my Java professor made us use Eclipse, I don't know how I survived the whole ordeal.

  • @Sameer.Trivedi
    @Sameer.Trivedi 7 місяців тому +1

    In india they still force you to use Turbo C++. I learned programming in C++ 98 when C++11 was already out 😂

  • @watchchat
    @watchchat 7 місяців тому

    Lol same but it’s just part of my day, muscle memory….my shirts are organized by type and color 🤣

  • @patrickprucha5522
    @patrickprucha5522 6 місяців тому

    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!

  • @jordanmancini
    @jordanmancini Місяць тому

    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

  • @WilliamShrek
    @WilliamShrek 6 місяців тому +1

    What Linux distro are you using?
    macOS

  • @quarteratom
    @quarteratom 7 місяців тому

    In Vim, you move around the text with the arrow keys.

  • @theangelofspace155
    @theangelofspace155 7 місяців тому

    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 7 місяців тому

      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.

  • @ChristopherLowery
    @ChristopherLowery 5 місяців тому

    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 місяців тому +1

      noremap s l, with all four keys (in my case rtns

  • @victorcadillogutierrez7282
    @victorcadillogutierrez7282 7 місяців тому +3

    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.

  • @jacobwhitecotton
    @jacobwhitecotton Місяць тому

    my intro to cs class had us install eclipse :( i switched to vs code soon after

  • @alexpsps
    @alexpsps 6 місяців тому

    When Prime says SUBSCRIBE the button is literally glowing tf??!! Is that a new feature?

  • @userasd360
    @userasd360 7 місяців тому

    can you share your dotfiles for fish shell, tmux and vim/nvim if possible

  • @too1leasy
    @too1leasy 16 днів тому

    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.

  • @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.

  • @user-hc4we4kb4j
    @user-hc4we4kb4j 7 місяців тому

    How do you run code in neovim

  • @VietTranPhuoc
    @VietTranPhuoc 7 місяців тому

    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

  • @SushritPasupuleti
    @SushritPasupuleti 7 місяців тому

    Didn't expect my ultra instinct meme from r/programmerhumour to make an appearance lol

  • @Tobsson
    @Tobsson 7 місяців тому +1

    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.

  • @anon746912
    @anon746912 7 місяців тому

    Wait so vim is just a text editor with funky keyboard navigation controls?

  • @AsbestosSoup
    @AsbestosSoup 7 місяців тому

    Prime when is the optimized neovim config vid coming out

  • @TheSulross
    @TheSulross 19 днів тому

    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.

  • @Ohmriginal722
    @Ohmriginal722 7 місяців тому

    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

  • @gabrielomane-yeboah
    @gabrielomane-yeboah 6 місяців тому

    We also used BlueJ for half the semester, then switched to Eclipse
    We never understood anything

  • @gcxs
    @gcxs 7 місяців тому +1

    16:08 Ben "the React andy" Awad

  • @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.

  • @ChungusTheLarge
    @ChungusTheLarge 7 місяців тому +2

    I use Neovim, by the way

  • @MuhammadArshad
    @MuhammadArshad 7 місяців тому

    Lol, I bought the exact same shoes for 4 years from the exact same shop (and I still do :D)😊

  • @tita8bit
    @tita8bit 7 місяців тому

    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.

  • @ImGeneralJAckson
    @ImGeneralJAckson 5 місяців тому

    buying all the same socks changed my life.

  • @ankitsanghi
    @ankitsanghi 7 місяців тому

    We used BlueJ too and I didn't know you could even run Java without it lol

  • @seeker4430
    @seeker4430 7 місяців тому

    9:18 the epic comment "mkfolder"

  • @capt8
    @capt8 3 місяці тому

    They used BluJ at my University... in 2018

  • @costadekiko
    @costadekiko 7 місяців тому

    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...

  • @seventyfive7597
    @seventyfive7597 Місяць тому

    Yeah, so 20 something years ago I found visual studio, and dropped all text editors, and yeah, my host has to be windows to run it, who cares nothing develops faster than it

  • @Ibrahimdevelopment
    @Ibrahimdevelopment 7 місяців тому

    nvim is lit af once i got to remapping my norwegian keyboard lmao

  • @abdulazizaskaraliev6119
    @abdulazizaskaraliev6119 7 місяців тому

    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

  • @severgun
    @severgun 7 місяців тому +9

    I did not get how he went from VScode to vim. Is it because of "perfection problem"? Then RIP for him. nvim ecosystem is more scattered and unstable than anything in the universe.

    • @gagagero
      @gagagero 7 місяців тому

      Yeah, it's just a nightmare. What fucking editor needs you to handcode file associations?

    • @gagagero
      @gagagero 7 місяців тому

      @@anon_y_mousse They did break it.

    • @gagagero
      @gagagero 7 місяців тому

      @@anon_y_mousse I do kind of pity Neovim, it got the spotlight way too soon. It needed 1-2 years of "private" development before being released into the world.

  • @5h4ndt
    @5h4ndt 3 місяці тому

    My company has winrar licenses, but we never actually activate winrar, despite having the licenses....

  • @maximotejedapozo9335
    @maximotejedapozo9335 7 місяців тому +1

    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 7 місяців тому +3

      Did you know the major shells support vi motions too? I use nvim, emacs, zsh, and fish all with vi motions.

    • @maximotejedapozo9335
      @maximotejedapozo9335 7 місяців тому +1

      @@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 7 місяців тому

      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 7 місяців тому +1

      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 7 місяців тому +4

    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 7 місяців тому +7

      Or you'll sack both of them off and use a Jetbrains IDE. Or VSCode.

    • @TangoFoxtrotWhiskey
      @TangoFoxtrotWhiskey 7 місяців тому

      Why not both? Doom, ftw.

  • @makhmudjonjamoldinov3554
    @makhmudjonjamoldinov3554 6 місяців тому

    Is vim worth learning for web developers?

  • @geomorillo
    @geomorillo 7 місяців тому +1

    i use vscode i tried to switch to vim or similars and never worked for me so i just use vscode and jetbrains

  • @Fan_of_Ado
    @Fan_of_Ado 7 місяців тому +2

    I also went from vscode to neovim. It was choppy at first but I cannot bear to use VScode anymore.

  • @OverWilliam
    @OverWilliam 7 місяців тому

    "FOMObia"
    Fear of fear of missing out

  • @ViniciusSoaresBatista
    @ViniciusSoaresBatista 7 місяців тому

    His reaction to eclipse…LOL

  • @mtheoryx83
    @mtheoryx83 6 місяців тому

    It's OURbuntu, comrade