DEV Community

Raju ghorai
Raju ghorai

Posted on

Why Vim Is The Best Editor...?

Vim picture

First, by no means I am a vim expert. In fact, I have only start using from March 2020 so basically beginner.
Before I go through the journey I must answer some basic questions about vim, those don't know about it, feel free to skip ahead.

What is vim?

'Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X.'— I took this line from official website of vim link.

Why use vim, when there are other text editors?

For me an aspect that standout most is efficiency.


At the core vim belief that people spend more time editing existing text than writing new text. This is especially true for software engineers or coders who are often tasked with enhancing and maintaining existing code. Even if you’re not a software engineer, think back to when you were writing essays in college — yes, it probably took you a long time to reach the finished product but that’s because you revised it along the way and proofread it 100 times after finishing your initial draft.


Now lets mathematical calculate how fast is vim compare to other editor like vscode, atom and sublime.
Your desktop or laptop take input and provide you with wonderful output, now let focus on input part, for input you mostly use keyboard and mouse. And you have two hand five fingers each so normal you can input using your ten fingers through keyboard, so bandwidth is ten. If you are using mouse then bandwidth four, with delay of moving your one hand toward mouse and back to keyboard vice versa.
So when you are using other text editor you are losing time with use of both mouse and keyboard.
But in vim your hands will be sticking to your keyboard, so when you are coding you are getting bandwidth of ten consistently.

Discussion (0)