Productivity is one reason why people use VIM. People say you will type faster than you think with VIM (because you’re not using mouse/trackpad at all)
Even if you don’t use VIM, you don’t need an IDE. You can use nano, etc...
I started coding with vim. Then realized how much time I was wasting with such an archaic system. Then I switched to vs code and my productivity jumped 10-fold
In some IDE or editors, you can install add-on to make it behave like vim (vim mode). But it still does not have all features of vim and people use vim because it’s lightweight (fast)
I don’t think people understand Vim enough. Vim is a text editor (not IDE). You can open 4 Vim instances at once. You usually see Vim developers have 4 pane windows (it’s like you’re using 4 VSCode at the same time.) A Vim instance is so lightweight that you can open/close it in a second. Because it works directly from your terminal, you can do lots of stuffs as well. When you work on multiple projects or project with multiple dependencies, you don’t have to navigate back and forth between them. I usually use 8 Vim instances when developing this project (4 splitted windows for each screen)
Do you also use tmux at that point? If the point is lightweight I’d say why not go with tmux and literally no desktop environment at all? I fully understand vim I would just rather use its bindings in an IDE. At work I have a massive todo list so I’ve found the efficiency you’re talking about, I just favor more higher level automation than sticking my heels in about vim
Edit: just to clarify; you did run multiple IDE instances in the past correct? I’m confused about the concept of “multiple Vims simultaneously” when any modern shell environment gives you the freedom to sandbox however many executables you need into however many processes your chip can handle.
You don’t need tmux at all. It’s hard to describe by words because you haven’t seen my set up.
My point is that Vim is so lightweight that you can organize it in such a way that you can work on multiple projects at the same time. This is extremely important when you are working on microservices or monorepos or projects with too many deps. Remember that this is just one of many benefits of Vim.
Furthermore, you must understand that most people here are web devs. They don’t understand the struggle when working with resourse-eating programs like virtual machine (when working on desktop apps) or simulators (when working on mobile apps).
Generally when I'm writing code I dont really ever find myself writing code slower than my thought process. And most time when developing a project for me isn't spent coding. Unless you're a 100x developer or some shit lol (which u may well be idk).
But recently I've been editing XML documents and i wish i was good at vim for this shit.
I use Vim for web development and get the same completions, syntax checking, formatting, etc. of an IDE, but also get much more powerful code editing abilities, plus it is much less resource intensive.
Sure it's hard to learn, but in the long term you will be much much more productive once you do learn it.
5
u/jimmyloi92 Feb 13 '21 edited Feb 13 '21
Productivity is one reason why people use VIM. People say you will type faster than you think with VIM (because you’re not using mouse/trackpad at all)
Even if you don’t use VIM, you don’t need an IDE. You can use nano, etc...