Despite we support the idea of simplifying our life with different hacks and tools, we know that sometimes harder way can bring you much more. We bet, that most of you refused even to think of Vim: “Come on. Why should we if there are Atom and Sublime?” And that makes a sense. But if you dare, this text editor will make you a high-professional and fast developer. Don’t be afraid of Vim!
There are always two options: first is easy and provide you with instant results, and the second is something challenging – you have to spend a lot of time to understand it and use. And the results are not always fast to come. But this second variant is something for the long-term improvement. More time you will spend practicing, the more and better results you will get. And some day you will understand that by this you’ve become the real dedicated professional ready to meet any challenges and perform like no other.
In his original article, Vim isn’t that scary. Here are 5 free resources you can use to learn it Fatos Morina describes the main advantages of Vim and name 5 free resources to learn it. These days many people think that they don’t have that much time for entering Vim. They think that Vim takes too much time and effort to learn and that it does not make that much of a difference after all. But then why it is still one of the most used editors by developers around the world?
We would like to share with you these reasons “why”:
- It’s challenging. Yes, that is a plus. As a developer you should appreciate this like if you were playing a game: when it’s hard you even become more motivated to play it
- No need for a mouse. You have many shortcuts to navigate through the code and files, and it helps you get rid of the need to use your mouse at all. Your fingers lying on the keyboard all the time, which speeds up your coding
- Many powerful commands. The list of commands that you can use is pretty long but you don’t have to learn each one. Start with a few and then try to learn new ones as you go
- Vim commands really easy to learn. That’s true. Many Vim commands can be easily recalled using simple mnemonics. Many developers agree that Vim commands such as “i” for insert, “d” for delete, and “q” for quit are a lot easier to remember than commands like F6 or Ctrl-Alt-Shift-F that other editors use
- High level of customization. Use and change configurations according to your own preferences. There are hundreds of colors schemes that you can download, and a large number of plugins that enhance your editor and make it as powerful as the modern integrated development environment (IDE). That means that you can speed up your performance if you will set the maximum comfortable environment for your work
- Vim is text-centered. In contrast to other modern IDEs, which have a lot of built in features to ease the use of all the functionalities, Vim is generally text centered. This makes it easier for you to focus only on the code and get rid of other distractive icons and options that are not code related
- Presented in every Linux machine. The vast majority of servers use Linux as their operating system. When you are familiar with the basics of Vim, you may become comfortable with the deployments and server maintenance. Isn’t it fascinating?
- Suitable for different OS. Keeping with the knowledge transfer theme, Vim is available on a number of different operating systems: Linux, Unix, Mac, OpenVMS, and Windows. Let’s say you want to learn Vim because you use Linux at work all day, but when you get home you use a Mac. Well, no problem. Simply install Vim on your Mac system and you can use the same text editor at work and at home. And honestly, once you learn how to really use Vim, you’ll want to use it everywhere
To add some facts, Vim is also thoroughly documented: you can check commands without leaving the editor. Its built-in help system comes in really handy. Moreover, like a language, Vim has the concept of verbs, nouns (or objects), and adjectives. For example, to delete a word you type the command “dw”, which is an action and an object. If you want to perform a different action on that object, then use a different action command. For example, to change the text of a word you would use “cw”.
We hope that all encouraged you to try Vim.
Subscribe to our weekly newsletter not to miss anything interesting!