From VSCode To Vim | Prime Reacts

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

ความคิดเห็น • 391

  • @adventuresinbytes
    @adventuresinbytes ปีที่แล้ว +896

    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 ปีที่แล้ว +10

      😂😂😂😂

    • @hebinyao709
      @hebinyao709 ปีที่แล้ว +75

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

    • @russellbusch
      @russellbusch ปีที่แล้ว +19

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

    • @davidoyinbo4591
      @davidoyinbo4591 ปีที่แล้ว +2

      🤣🤣🤣

    • @salaheddine.el-farissi
      @salaheddine.el-farissi ปีที่แล้ว +1

      HHHHHHHHHHHHHHHHH

  • @brandonkeffer5752
    @brandonkeffer5752 ปีที่แล้ว +491

    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 ปีที่แล้ว +44

      That’s a true torture-test!

    • @ristekostadinov2820
      @ristekostadinov2820 ปีที่แล้ว +28

      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 ปีที่แล้ว +24

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

    • @rogergalindo7318
      @rogergalindo7318 ปีที่แล้ว +10

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

    • @rogergalindo7318
      @rogergalindo7318 ปีที่แล้ว +3

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

  • @80sixd
    @80sixd ปีที่แล้ว +121

    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 10 หลายเดือนก่อน +8

      wtf

    • @shakram2774
      @shakram2774 10 หลายเดือนก่อน +1

      HUH

    • @airkami
      @airkami 9 หลายเดือนก่อน +41

      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 9 หลายเดือนก่อน +10

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

    • @oredaze
      @oredaze 17 วันที่ผ่านมา

      WAIT, your CEO wrote hundreds of thousands of lines of java in regular notepad?

  • @Sameer_Kumar
    @Sameer_Kumar ปีที่แล้ว +202

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

    • @PristinePerceptions
      @PristinePerceptions 11 หลายเดือนก่อน +14

      Correction: Vim-eer 😏

    • @airkami
      @airkami 9 หลายเดือนก่อน +3

      Thanks for sharing your story!

    • @airkami
      @airkami 9 หลายเดือนก่อน +1

      How do I ninja learn the bindings?

    • @Sameer_Kumar
      @Sameer_Kumar 9 หลายเดือนก่อน +5

      @@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 7 หลายเดือนก่อน

      Gey

  • @55sombreroman
    @55sombreroman ปีที่แล้ว +47

    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.

  • @jgdovin1
    @jgdovin1 ปีที่แล้ว +63

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

  • @FraserChapman
    @FraserChapman ปีที่แล้ว +151

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

    • @josephperkins-z7n
      @josephperkins-z7n ปีที่แล้ว +22

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

    • @comradepeter87
      @comradepeter87 ปีที่แล้ว +12

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

    • @FraserChapman
      @FraserChapman ปีที่แล้ว

      @@comradepeter87 hex not binary - I'm not a monster.

    • @gregvanpaassen
      @gregvanpaassen ปีที่แล้ว +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 ปีที่แล้ว +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.

  • @jzmmm
    @jzmmm ปีที่แล้ว +32

    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.

  • @cosecseccot
    @cosecseccot ปีที่แล้ว +6

    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 ปีที่แล้ว +12

    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,

  • @jzmmm
    @jzmmm ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว +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.

  • @dinckelman
    @dinckelman ปีที่แล้ว +44

    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 ปีที่แล้ว +1

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

    • @theherk
      @theherk ปีที่แล้ว +4

      Clicks? What are those? 😅

    • @vikingthedude
      @vikingthedude ปีที่แล้ว

      vscode with telescope? how do you do that?

    • @itztlacoliuhqui
      @itztlacoliuhqui ปีที่แล้ว +8

      ​@@vikingthedude ctrl+p lol

    • @titopowlo
      @titopowlo ปีที่แล้ว

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

  • @ericr5481
    @ericr5481 ปีที่แล้ว +84

    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 ปีที่แล้ว

      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 ปีที่แล้ว +55

      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 ปีที่แล้ว +3

      A week from now? Longer.

    • @jackdanielson1997
      @jackdanielson1997 ปีที่แล้ว +14

      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 ปีที่แล้ว

      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.

  • @demolazer
    @demolazer 4 หลายเดือนก่อน +4

    I caught my dad (a software dev/architect for 35 years) editing an open source C++ application, in notepad++, in light mode, with absolutely no syntax highlighting except bold keywords. I keep trying to force him to use Neovim but I'm not quite there yet. Older generation built different

  • @pesterenan
    @pesterenan ปีที่แล้ว +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 ปีที่แล้ว +2

      same. i uninstalled vscode

    • @windows99
      @windows99 ปีที่แล้ว +1

      Do you use Vim for Java coding?

    • @pesterenan
      @pesterenan ปีที่แล้ว

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

  • @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 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว

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

    • @markmywords3817
      @markmywords3817 11 หลายเดือนก่อน

      ​@@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 ปีที่แล้ว +14

    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 ปีที่แล้ว +1

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

    • @Xe054
      @Xe054 ปีที่แล้ว +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.

  • @Peter-fv9bj
    @Peter-fv9bj 2 หลายเดือนก่อน

    Learning how to code and seeing you get to that uwuntu lightning fast is such a hooting joy I may just keep going with it.

  • @Rockem1234
    @Rockem1234 ปีที่แล้ว +6

    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

  • @rocstar3000
    @rocstar3000 ปีที่แล้ว +15

    15:47 - Vim is like laughing in Brazilian

  • @shock9616
    @shock9616 ปีที่แล้ว +24

    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)

  • @cloudenvying
    @cloudenvying ปีที่แล้ว +3

    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.

  • @AlJey007
    @AlJey007 ปีที่แล้ว +9

    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 10 หลายเดือนก่อน

      did you try Zed?

    • @AlJey007
      @AlJey007 10 หลายเดือนก่อน +1

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

  • @cyberflaw_
    @cyberflaw_ ปีที่แล้ว +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 ปีที่แล้ว

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

  • @StephenPierceT13
    @StephenPierceT13 ปีที่แล้ว

    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.

  • @everything-narrative
    @everything-narrative 11 หลายเดือนก่อน

    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.

  • @SpazeUnofficial
    @SpazeUnofficial ปีที่แล้ว +1

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

  • @alexaneals8194
    @alexaneals8194 ปีที่แล้ว +2

    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.

  • @SpikeTaunt
    @SpikeTaunt ปีที่แล้ว +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 ปีที่แล้ว +4

      The best editor for hacking ini files 😅

    • @marlopainter8246
      @marlopainter8246 ปีที่แล้ว +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. ปีที่แล้ว +49

    Surely most companies restrict employees on the software they use.

    • @stanrock8015
      @stanrock8015 ปีที่แล้ว +1

      Noooope

    • @ssshenkie
      @ssshenkie ปีที่แล้ว +6

      Never worked in a company that did.

    • @thegreatbambino3358
      @thegreatbambino3358 ปีที่แล้ว +1

      Mostly nope

    • @AmonAsgaroth
      @AmonAsgaroth ปีที่แล้ว +21

      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 ปีที่แล้ว +16

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

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

  • @nikolay_sheyko
    @nikolay_sheyko 3 หลายเดือนก่อน

    For those who are not ready for switching to vim, just bind your arrow keys to Right Cmd/Alt + jikl, you will be surprised how cool it is. Carabiner for Mac, PowerToys for Windows

  • @DylanMatthewTurner
    @DylanMatthewTurner ปีที่แล้ว +1

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

  • @user-mikesmith
    @user-mikesmith ปีที่แล้ว +18

    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 ปีที่แล้ว +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.

  • @noredine
    @noredine ปีที่แล้ว +6

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

  • @MortyCJ
    @MortyCJ 5 หลายเดือนก่อน

    lol Wow, BlueJ! Blast from the past! Used that at Uni too. Can’t believe it’s still around!?
    Vim knowledge (even if it’s basic) is a requirement for anyone in IT - not just devs imo. The omnipresence of Vim makes it a must.

  • @toadbroz30
    @toadbroz30 3 หลายเดือนก่อน +1

    11:57 Wait one freaking second did we go to the same college and dorm????

  • @kuhluhOG
    @kuhluhOG ปีที่แล้ว +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?

  • @victorcadillogutierrez7282
    @victorcadillogutierrez7282 ปีที่แล้ว +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.

  • @tamertamertamer4874
    @tamertamertamer4874 ปีที่แล้ว +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

  • @dubiouslycrisp
    @dubiouslycrisp ปีที่แล้ว +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.

  • @iivarimokelainen
    @iivarimokelainen ปีที่แล้ว +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 ปีที่แล้ว +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

  • @rafaelpereiradias2567
    @rafaelpereiradias2567 2 หลายเดือนก่อน

    I had try to switch from visual studio to neovim, but my biggest difficulty was the c# compiler, it doesn't worked like I expected it to.

  • @jesselawrence336
    @jesselawrence336 ปีที่แล้ว

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

  • @TFitz
    @TFitz ปีที่แล้ว +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.

  • @SeaWasp
    @SeaWasp 5 หลายเดือนก่อน

    I learned a bit of vi and vim when I started self-teaching C and C++. All the books I had all suggested to use either emacs or vi. I much preferred vi. I loved the idea behind it. Shift-ZZ was the first way I learned to exit
    I got compliments from my profs for trying vi and vim when I later went into comp-sci (then dropped out). The vi family of editors is still the best!

  • @bradfin12
    @bradfin12 10 หลายเดือนก่อน +1

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

  • @DangerHiVolt
    @DangerHiVolt ปีที่แล้ว

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

  • @charlesbenca5357
    @charlesbenca5357 ปีที่แล้ว

    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.

  • @rayantovi
    @rayantovi ปีที่แล้ว +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

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

    • @TangoFoxtrotWhiskey
      @TangoFoxtrotWhiskey ปีที่แล้ว

      Why not both? Doom, ftw.

  • @BrandNewByxor
    @BrandNewByxor 3 หลายเดือนก่อน

    1:46 Netbeans? No sir, the superior Java IDE is Dr. Java. Used to build swing apps on this bad boy on the school computers cuz the IDE was a JAR file and EXEs were blocked by group policy

  • @maximotejedapozo9335
    @maximotejedapozo9335 ปีที่แล้ว +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 ปีที่แล้ว +3

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

    • @maximotejedapozo9335
      @maximotejedapozo9335 ปีที่แล้ว +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 ปีที่แล้ว

      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 ปีที่แล้ว +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.

  • @NC-nc3gs
    @NC-nc3gs ปีที่แล้ว +3

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

  • @shyamhabarakada6295
    @shyamhabarakada6295 หลายเดือนก่อน

    This is tough one for me too. They are both great products with their own capabilities. The Copilot Chat integration capabilities these days gives VS Code a hard to beat advantage though. I haven’t found a vim integration for that which has the same level of user experience. Would love to know if anyone else does.

  • @Tobsson
    @Tobsson ปีที่แล้ว +2

    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.

  • @ionuttiplea4666
    @ionuttiplea4666 2 หลายเดือนก่อน

    Hot take on this
    Using vim/Neovim forces you to understand the project way better
    Add using Linux + familiarity with the terminal on top of using Neovim and you also have to partly understand how everything runs it's built, etc
    I may not have much experience, but I feel like Neovim made me double the developer I was before switching, and is not about productivity, that's a big plus sometimes, but let's be honest, as a developer you actually spend 70% of your time or more reading through code rather the writing it

  • @TaoistZombie
    @TaoistZombie ปีที่แล้ว

    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.

  • @Guillen8606
    @Guillen8606 ปีที่แล้ว

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

  • @theangelofspace155
    @theangelofspace155 ปีที่แล้ว

    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 ปีที่แล้ว

      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.

  • @theangelofspace155
    @theangelofspace155 ปีที่แล้ว

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

  • @lukeabergen
    @lukeabergen 2 หลายเดือนก่อน

    Have been in tech for a while but just starting to jump into tech youtube. Loving Primeagen (and found Thor a month or so back) but looking for others as well. Coming to comments to ask who "TJ" is from around 19:46 (edit: omg I'm an idiot. _That_ TJ. Yep). Also, anyone have any other recs (I trust y'all over the youtube algo at this point)

  • @anon746912
    @anon746912 ปีที่แล้ว

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

  • @callum.dokkodo
    @callum.dokkodo 20 วันที่ผ่านมา

    Just to put it to rest, its the "oo" sound from "goose" for all the u's in ubuntu. Emphasis on second syllable

  • @DEVDerr
    @DEVDerr ปีที่แล้ว

    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

  • @ChrisRLowery
    @ChrisRLowery ปีที่แล้ว

    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 ปีที่แล้ว +1

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

  • @undergrounder
    @undergrounder ปีที่แล้ว +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!

  • @severgun
    @severgun ปีที่แล้ว +10

    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 ปีที่แล้ว

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

    • @gagagero
      @gagagero ปีที่แล้ว

      @@anon_y_mousse They did break it.

    • @gagagero
      @gagagero ปีที่แล้ว

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

  • @jordanmancini
    @jordanmancini 9 หลายเดือนก่อน

    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

  • @kogaryu5558
    @kogaryu5558 ปีที่แล้ว

    The term Ubuntu is & should be pronounced similar to, but not exactly, Ooboontoo.
    The diference in sound is the very first & last vowels are shorter than the middle one. It is the same sound you'd hear a native say when they say Zulu, the last vowel is short.
    Ubuntu is a Nguni term (Nguni Language is a predecessor to the Dominant South African Languages like Zulu - said like Zooloo, Swati, Ndebele, Xhosa, Tsonga/Shangaan).
    Yes Mark Shuttleworth is a South African, whence he copied the term.
    Given that he was based in Capetown, it makes sense to infer the dialect was specifically Xhosa as he's be surrounded by Xhosa speaking Nguni Natives, than others.
    Note the root of the term "Ntu" is definately of the higher hierachy "Bantu" origins.

  • @alexyoung8185
    @alexyoung8185 4 หลายเดือนก่อน

    We had bluej and java for our first class too. I was hoping no one else had to experience it

  • @SushritPasupuleti
    @SushritPasupuleti ปีที่แล้ว

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

  • @TheSulross
    @TheSulross 8 หลายเดือนก่อน

    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.

  • @mohamedmurshid9794
    @mohamedmurshid9794 ปีที่แล้ว

    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.

  • @FrankJonen
    @FrankJonen ปีที่แล้ว

    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.

  • @jfftck
    @jfftck ปีที่แล้ว

    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.

  • @bradfin12
    @bradfin12 10 หลายเดือนก่อน

    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.

  • @biggestdawg800
    @biggestdawg800 9 หลายเดือนก่อน

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

  • @quarteratom
    @quarteratom ปีที่แล้ว

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

  • @tita8bit
    @tita8bit ปีที่แล้ว

    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.

  • @Sameer.Trivedi
    @Sameer.Trivedi ปีที่แล้ว +1

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

  • @patrickprucha5522
    @patrickprucha5522 ปีที่แล้ว

    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!

  • @costadekiko
    @costadekiko ปีที่แล้ว

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

  • @devilcodeblaster
    @devilcodeblaster 7 หลายเดือนก่อน +1

    What type of Linux distro used here

  • @Jmcgee1125
    @Jmcgee1125 ปีที่แล้ว

    17:43 when I first switched to vim, I realized how bad my typing was. Ended up spending a month or so relearning so I could get good at proper touch typing. Still not as fast as I used to be (90-100 instead of 110-120), but I can use vim motions fluently and *THAT* is what makes it fast.
    19:25 did the exact same thing. Two months to build an awesome config. But now I have an awesome config and I can tell people how it works. It's *my* config.

  • @grugbrain
    @grugbrain ปีที่แล้ว +1

    What Linux distro are you using?
    macOS

  • @Ohmriginal722
    @Ohmriginal722 ปีที่แล้ว

    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

  • @bstar777777
    @bstar777777 ปีที่แล้ว

    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 ปีที่แล้ว +2

      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.

    • @ngkksr6_ayy
      @ngkksr6_ayy ปีที่แล้ว

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

  • @jacobwhitecotton
    @jacobwhitecotton 9 หลายเดือนก่อน

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

  • @arcanernz
    @arcanernz ปีที่แล้ว

    4:48 I don’t consider macOS a Linux distro I consider it the best Linux distro.
    - got ‘em
    I know it’s a bad take but it’s also the best take.

  • @Jeremyak
    @Jeremyak 5 หลายเดือนก่อน

    I thought it would be wise to start out using vscode to learn the basics and I'm not sure that was a good idea in retrospect, since switching to VIM I feel like I actually retain the things I code MUCH better than before. I could kind of lean on the autocomplete and stuff and not really need to fully digest what I was doing. I can only imagine how damaging something like copilot would be. And as I get more comfortable with the VIM "motions" it's making writing a lot of fun. Simply not having that infuriating popup hiding my code constantly is such a breath of fresh air. And now I can smugly look down on people using their baby editor and isn't that really what it's all about anyway? 😏

  • @antares-the-one
    @antares-the-one ปีที่แล้ว +1

    you can do the work using a grinder or a file and all these talks about "Vim is better than a vs code" just comes from some insecure people who want to think they are better than others

  • @chimichuflis
    @chimichuflis ปีที่แล้ว

    I switched from vs-code to neovim a little while ago, somewhat new to programming, and it is realy hard to get the hang of it, i feel the tutorials and guides are too technical for me, so it is a lot of trial and error

    • @moonasha
      @moonasha ปีที่แล้ว

      bro just use vscode, vim is not going to benefit you as a new coder. You have much more important things to worry about, the last thing you need is some clunky piece of junk software from the 1970s holding you back. All these people arguing about IDE are flavor of the month goofballs, it really doesn't increase productivity that much. You're going to be most productive with what you are comfortable with, coding is only 10% typing anyways

    • @chimichuflis
      @chimichuflis ปีที่แล้ว

      @@moonasha i get why you are saying this, but it is worth it when you get used to it

  • @AsbestosSoup
    @AsbestosSoup ปีที่แล้ว

    Prime when is the optimized neovim config vid coming out

  • @5h4ndt
    @5h4ndt 11 หลายเดือนก่อน

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

  • @Tigregalis
    @Tigregalis ปีที่แล้ว +1

    did Prime ghostwrite this article?

  • @Lestibournes
    @Lestibournes ปีที่แล้ว

    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.

  • @ayushpurohit8266
    @ayushpurohit8266 6 หลายเดือนก่อน

    3:29 Supported by the fact that linux users prefer rooms with no windows.

  • @abdulazizaskaraliev6119
    @abdulazizaskaraliev6119 ปีที่แล้ว

    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 ปีที่แล้ว

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

  • @ImGeneralJAckson
    @ImGeneralJAckson ปีที่แล้ว

    buying all the same socks changed my life.