[SE] Why VIM
As a coder you can’t be separated from your code editor. Every coder have their own favorite editor. Nowadays there are so many good editor that you can use for free, depends on your purpose and preferences you may have different favorite editor with your teammate.
Here i want to share my experience of using one of the or one and only my favorite code editor. As i mentioned above you can choose any code editor that match your preferences and most probably you can use it for free. Many editors out there has been become popular for the past several years because they are free and open source, editor such as Visual Studio Code, Atom, Sublime Text are powerful enough to support your coding process with several functionalities. However there is one editor that live long enough since early time of computer development and still become one of the most favorite among coders in this era, VIM. Yes this small lighweight simple editor that is embedded in your terminal is quite popular even in this day, there are many reasons why VIM can be so popular despite its lack of feature and not-so-good looking interface.
-
- You have what you need, you do not have what you do not need.
- can you imagine when you are forced to bring all the books you have even though you only need one of them? yah that exactly what you would feel when you install some IDE that include ton of built-in features and plugins that you do not even need. It consume memory space, it consume cpu power to initialize all of them, it confuse you with hundred of buttons in the interface. with vim you got it plain, meaning nothing but text editor, however if you need more, then you have all of this open source vim plugins that you can find anywhere in the internet, there are many vim plugin manager that you can use to make your plugin management easier, library such as vim-plug and vundle proven can be very helpful in this case (at least from my own experience).
-
- Nothing can be as helpful as VIM key bindings.
- I feel this is the main factor why i love vim. You do not need your mouse, you do not need arrows. with VIM key bindings you can just focus typing your code, with your hands and your fingers always stay in one area it make you type faster. No distractions outside of what you type. Need to move cursor? use vim binding, need to find a word? use vim binding, need to do find and replace? use vim binding, need to change sentences inside bracket? again, use vim binding. Vim bindings capable to do almost everything. It takes time to get used with the bindings but once you get used to it then you will really enjoy to type anything.
-
- You can choose your own style.
- VIM avaliable in several kind of distributions, you can choose whatever match your preferences. you like to code in terminal directly, use nvim or macvim. You prefer to have your own editor interface separated from terminal, use gvim. They all based on the same vim config, so changing from one to another is not a big deal.
So in summary i would suggest to try vim for at least one month for your code editor. I cannot guarante that you will like vim more than your current editor, but at least after a month of trying you can compare it, and who knows that you might join VIM fanbase after that :)