Why I Cant Stand IDE's After Using VIM | Prime Reacts

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
why I can't stand Ides after I use Vim so I've been using Vim for a couple of years now and I can't stand using IDs anymore I actually started programming with IDs I use a lot of different kinds I use Visual Studio Eclipse all kinds of uh jet brains IDs I always he didn't say net beans kind of a loser not going to lie to you I expected I expected if you're going to be thrown out Eclipse I expect at least one honorable mention net beans the superior version of eclipse always thought of Vim as like this editor that is very hard to use and you only use it when you're connecting with SSH to some remote computer and you don't have any graphical user interface but I we actually like this me and this guy have the exact same opinion okay yeah like when I was when I was a young man in my early 20s I genuinely did think anyone who used Vim was just trying to be difficult and show off like I had the same mentality of like half of three quarters of tech Twitter I think once I realize that you can actually use Vim to write real code you can use it much more efficiently then I really got serious about learning vim and this has paid me off very well because Vim is truly an incredible editor there are two main things that IDs are horrible at and Vim is just awesome in the way it solves it so the first thing I think that IDs are extremely bloated I think there's this thing that like each ID I like this man we're going to let him cook okay let him cook he has like sort of these features that are geared toward a specific language or a specific family of languages and once you like deviate from the language that it's meant for the ID is pretty much useless because it contains a lot of garbage that is aimed for a specific language but you don't need to use that language anymore so that's one thing and a lot of those bloated features you're not really going to use because it has so many useless features that if you're programming in a specific language you're not going to need all the rest of those stuff so they're just has anyone used a lot of pie charm can I get it once in the chat if youve used use a lot of pie charms or uh web storms or sea lion or any of the like uh the non-complete intellig one because I've used a lot of uh ultimate they're the same picture I've never tried using not ultimate wait what am I missing oh my chat wasn't caught off uh pie charm sorry dude my chat was I was looking at I was looking at the ASMR the chat I saw over here was just all the ASMR stuff like almost there keep clicking and I'm like what the hell are you guys talking about we're talking about Ides and you guys are talking about licking keyboards this disgusting um keep clicking okay now that we're back on track uh pie charm is mid what about it I mean do you guys is there some benefit to using these like single language Ides because he does mention it as like it's kind of like a bloated point but in some sense having a single IDE to or a single language IDE is their benefit to it like cuz I know you can use the ultimate ultimate gives you all of the editing stuff but the language specific ones give you all of the deep Integrations okay so you're saying that you get you get better Integrations with specific tools on the specific language ones uh I haven't used rust Rover so I don't know uh I haven't used it I've only read about it and it seems pretty cool like I like the idea honestly no not uh for my use cases yeah I use a lot of multi- language packages so it's kind of hard sometimes to use single language ones Global search was very accessible I mean Global search is still very easy Global search works like out of the box for everybody including by language server and all that client was better a debugging for C++ and Rush from uh yeah okay fair okay kind of clutter in your eye and they're making the IDS incredibly slow to actually boot up and to use they also contain a lot of bugs I felt that especially when using eclipse eclipse is like a horrible ID now a lot of people think that IDs are actually good for the auto complete features and that's something that Vim lacks so actually Vim does have autocomplete it even has that out of the box and you can also connect it to a language server and actually have the Vim understand the language that you're currently writing oh by the way you I do feel like it's fair to say that saying idees are often buggy and then stating you use the clips a lot it's a little unfair because like I never had much problems with intell that I can remember but eclipse on the other hand is just doooo so you know is it is it fair I don't think it's fair uh also if I did anything with Java I would use intell okay I'd use intellig if I did anything with Java and giving you errors and warnings inside your code for example what you can see here where it says that this constructure function may be converted to a class declaration this is actually a language server of typescript running on this file with a plugin I put here on Vim I'm actually is he using default Vim color scheme with WP damn this guy's a Chad I mean anyone that's using set set no rap false and default color scheme I mean this this gigachad moment this guy this guy is flexing on us like I use rose Pine Hey look it's get integration and I'm using a little bit of Rose Pine hey you guys like my rose Pine my Wu this guy's like no way we got we got text WP and default color kind of minimalist on the plugins so I don't really use a lot of plugins yeah I only have two plugins on my setup and I generally feel that Vim just has so many awesome and useful features that I don't really need any plugin to make myself more efficient so I think the main thing that is really awesome about Bim that you don't get on any ID any other text editor is the efficient text editing capabilities for example something you will see a lot of people that use IDs uh do is scroll with their Mouse okay they reach out of their Mouse and they just scroll manually until they get to where they want wor just the worst now this is really inefficient because sometimes it can take you a long time to actually find the line that you're looking for Real Talk who here who uses a mouse start scrolling knows for a fact you could probably find it more efficiently but since you're already scrolling and you have a sunk cost you just keep on scrolling you just keep on you just keep on keep it on you know you do this dude the Su cost fallacy is so real when it comes to a mouse like I know for a fact that I am 5,000 lines away and I'm like not going to happen NOP we're gonna get we're going we're going we're going like I know I could do better just refuse click on the mini map let me get back to like where I was I was on navigation right and I just want to go to the end of this function all I have to do is just percent I press percent and I just get to the end of this function this is one example of how makes an operation that here let me actually show you something that I think is super super cool are you ready for something that's super super cool have you ever been in this situation where you have some sort of some jesson okay you're in some jesson file that's huge right and you have your key and it's filled with just like a bunch of numbers right zero uh oopsies and there we go if you know you have a bunch of numbers right and let's go like this let's take that is there easy way to do this yeah I think there is all right here we go I think we're going to get this one record a macro Yap it paste it down paste it I guess we don't care do we I thought I had something pretty cool but I'm not going to be able to do that whatever close enough I thought I had something cool anyways have you ever been in this situation right right here right where you have a huge you're in a huge block right have you ever been in this have you been in this situation have you been in the situation and you want to like get to the end of it right you want to get to the end of it dude check this out I just want to be able to go to either side of these two things oh man dude hit it with like a little va little va do you see that little va opening bracket gets me to the end I'm already highlighted and now I'm on the end it's so good it's so good it's so good VA opener bam out get them out just get get the hell out get the hell out right it's so good dude it's so good yeah because when you have those super huge text files where it's like you just want to find the two ends it is so hard to find those two ends it's so nice it's so nice anyways keep on going percent signs manual and annoying just scroll your scroll wheel and just make it with a single press of your button same thing for going on the start beginning or end of your line just zero and dollar I like I really got used to I use I usually use underscore uh uh because zero goes to the zeroth position underscore goes to the first character uh also so does hat hat goes to the first character but dollar sign hat does something different than dollar sign underscore right dollar sign dollar sign underscore you'll notice deleted the line but dollar sign carrot doesn't I don't really understand capital I goes to the first character in the line and starts typing in so capital I I'm already in insert mode right uh capital A goes to the end end super useful super super useful but for macros uh underscores are really awesome cuz look I started a macro right here you can see recording a I'll start Always by hitting an underscore first so I go to the first character in here and then I start my macro it's just like such a hack in life to start every macro with an underscore only when I started using Vim is actually using search to get from place to place on my code so instead of just scrolling with my wheel and searching for a specific word I really started using the search capabilities and that can get you places much more efficiently so I think if you actually take away the features that people are used to the scrolling and the selection and the regular text editing features you really get start to use to these stuff that are much more efficient like using search to get from place to place using these shortcuts to get from from one place to another in your code yeah for example I I can just from my location right over over here press F and round brackets it'll just bring me to the round brackets on this line f is fine I'm going to I'm going to add to this are you guys ready for this one this is where it gets real super sexy okay we're going to get I mean you got I mean this is going to get so sexy that there are going to be multiple people that are going to be pregnated by the end of this are you ready for this one all right so what he did right here is he did the old F opening little curries right there right pretty good huh watch this one VI opening Cur uh parentheses look what I just did I highlighted the entire parenthesis group okay look at that so I can do a little di open open and I I deleted it so if I do a little CI open I'm now off typing whole thing just GMS GMS everywhere same thing works with uh with uh text so if I go like that and I just go CI uh double quote boom I'm inside the the the quotes deleted everything beforehand it is so good oh it's so good and it hops forward and if you're already in you just Di that and then you can do that oh the hopping forward is so good so that's really something useful that instead of going heading manually to my mouse and pressing on this I can just do it with a single command on my keyboard yeah so when I go to other people's computers and use something like vs code or whatever I'm really missing these features having to do it again with my mouse is hor there's Ain plug for V another thing that I see a lot of people on IDs do is use the file tree and tabs both of which I think are horrible because you can spend a lot of time searching for the file you want with the file tree and the tabs the same deal you search a lot of time for the tab you want each time Tabs are a mistake really inefficient I personally don't use file trees I used to use file trees now that I'm using Vim I don't use file trees anymore and of course tabs I don't use that as well so instead of just going sifting through your entire file tree and searching for each file file each time I just like using tab super simple why why are tabs a problem you have this list of files that you're looking at and you have to find the one you want to get to and either then once you see it you have to control tab over to the place or B you have to go move your mouse up there and click the one so you have to manually search which humans are terrible at searching and then on top of it um on top of it you have to actually navigate to that point Tabs are fine okay so buo you're you're talking about something a little bit different than tabs right when he was showing tabs he wasn't quite showing tabs in the way that we would show tabs right these are more like tabs for um uh vs code right every single file has its own tab up top so it's it's it's not tabs and Vim Vim Tabs are windows so you can have one set of windows that are dedicated to a bunch of stuff another set of windows that are dedicated to other stuff and we could even make like Harpoon work on a per tab basis so that's a little different totally get it little bit different they're they're just simply different experience experiences yes um but nonetheless uh it's just that if you're going to search for a file use a fuzzy finder if you're going to open up a file and you already have it saved say in Harpoon then just do that hey I want to go to the init file I want to go to the config file I want to go to the list file I want to go to the test right like I don't want to have to think about things I want to have them already on my little FY so I can just run fast you know what I mean to me it's just kind of crazy to not have it that way you know what I mean it's it's it justes doesn't make much for sense the name is I agree with this thing let's finish it off well so instead of just going sifting through your entire file tree and searching for each file each time I just like using tags so I remember kind of like what I'm searching for each time so if I want to go to like the animation part of this code I just search part of it and it's just going to jump me right into the place I want to go subscribe for more and see you guys on the next one thanks for watching I liked it I like that say a lot uh I think that I think what he's you know it's what every Vim person kind of struggles with as as a vimmer myself uh when you really end up using Vim more and more you use it you start valuing Speed and how you uh want to customize every little experience and there's definitely a game there you don't want to customize everything you don't want to spend all of your life using uh uh you know just trying to customize you got to find that balance and once you find a good balance where you make Vim into what you want it's really really nice you know what I mean it it becomes super nice because it's exactly the way you think it's not how I think it's not how someone else thinks it's totally fine to have a bespoke editing experience on your machine I think that that's totally fine and second it just you you make something purely for yourself so it's as efficient as possible for you and then as you go you'll make more and more efficiency changes and you'll feel better and better I just like it um I also time box my neovim RC stuff like you know right now how many times have I been asked to redo my uh neovim RC uh I'm not doing it I I do it about once a year I sit down for about 10 hours and redo it about once a year fix the things I don't like move some stuff around make it into what I really wish it to be and that's I think a really good way to approach it because then you don't just lose yourself in config hell where you're constantly trying to you know know where you're constantly trying to like make everything perfect just make it perfect enough yeah I spent about 10 hours a year making my environment better sometimes 20 hours a year making my environment better and I think that that's good because I save more than enough time on the other side like one of my biggest Time Savers that I've made and this thing took two hours to make was a a sessionization go thing okay awesome I want to go back I want to go forward I want to go back I want to go forward it's just a plugin for it's just uses uh what's it called it just simply uses t-mo creates an autocomplete and navigates there and so now I have all of those still right here so I can still just go to each one of those places so I can go back to Harpoon and it is what it is I can leave I can quit I can close this down I can reopen it back up I can TMO uh attach and I'm back where I was and there we go now I can Harpoon it it's the exact same idea as harpoon is just trying to make it as quick as possible to where you want to be and it's just one of those things where yeah it took like two hours to make but I've probably I've literally saved a kajillion hours in navigation and I love it the name is the primagen
Info
Channel: ThePrimeTime
Views: 177,417
Rating: undefined out of 5
Keywords: programming, computer, software, software engineer, software engineering, program, development, developing, developer, developers, web design, web developer, web development, programmer humor, humor, memes, software memes, engineer, engineering, Regex, regexs, regexes, netflix, vscode, vscode engineer, vscode plugins, Lenovo, customer service
Id: zPMPqzjM0Fw
Channel Id: undefined
Length: 17min 51sec (1071 seconds)
Published: Fri Dec 01 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.