Edit: VIM is so difficult to learn that many developers give up. You will hate it because it’s so difficult. But once you master it, you feel like you like programming even more. It’s weird.
As someone whos hardly used VIM, is that actually beneficial for you, or a challenge you set for yourself? Is it actually something so robust that when youre good enough at it you dont need an IDE?
Vim has so many plugins, you can make it your IDE. I used Vim for a decade before I switched to VSCode and I'm still not sure if VSCode has made me any faster.
The question is whether VIM is any faster. Feels very much like VIM is used by a lot of people who like to tell you they use VIM. VSCode is a great IDE and as long as you take a little time to learn the useful shortcuts I struggle to imagine most people using VIM are that much faster.
If you don’t know if you are faster in something, you probably have your answer.
It’s true. People who don’t know Vim cannot imagine why we like Vim. To most developers, it looks like a crazily complicated editor. But to those who master it, it’s like a god-send. I don’t want to compare it with VSCode because one is text editor and the other is IDE.
Vscode is a code editor it is not an IDE. And I don’t think VIM is worth learning anymore. It is something that was used by a lot of people before we had VSCode and they keep with it. If your brand new and haven’t used either there is no advantage to VIM.
Not watching an hour and half video sorry. You said it yourself it is time consuming to learn and it is not a skill people hire for. Your not going to find VIM on job listings often if ever. If your saying you can not use a mouse the same is easily done in VScode and you can even use VIM shortcuts if you want. I work with blind kids teaching them to code and VSCode is a breeze to navigate without sight and has tons of support for keyboard navigation and quickly finding references throughout the project. Again what is VIM offering that is not summed up in an hour and half video? Nothing to a new developer.
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)
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.
As someone who used VIM and now uses VSCode, the only thing using VIM gives you is a feeling of superiority. VSCode literally does everything better with the exception of some of the more obscure shortcut keys.
Neovim has built-in LSP support. Or you can use LSP features from VS Code plugins using coc.nvim. You can make it an IDE. This is a demo me doing done Java programming in Neovim https://youtu.be/JGbJp5gqjcc
This is my personal experience and is subjective, but multicursor capability text editors (i use sublime, but the same applies to vscode for example) just destroyed the so called "vim superior productivity" myth
Exactly. Working in VIM gives a lot of joy. It also helps me to becomes really focused for the task at hand for some reason. After working for a decade with shiny and feature-rich IDE's such as Visual Studio, Eclipse, VS Code, Goland, Rider (and using the mouse and repeated keystrokes for movement too often) nothing beats VIM for me nowadays. VIM plugins for other IDE's mostly dissapoint because they do not provide the same possibilities. If you are new to VIM check https://www.vimgolf.com to get an idea of how efficient text editing with VIM can be.
It's not for the faint hearted though, it's a real challenge and frankly painful to become familiar with VIM and configure it so that it becomes comparable with modern IDE's.
15
u/jimmyloi92 Feb 13 '21 edited Feb 13 '21
I use VIM.
Edit: VIM is so difficult to learn that many developers give up. You will hate it because it’s so difficult. But once you master it, you feel like you like programming even more. It’s weird.