📜 ⬆️ ⬇️

Forget about your editor. Use Vim

Enjoy the text editing process.

Introduction


Hello, dear reader! This article is neither a manual nor a textbook. In this article I just want to tell you that there is a more effective tool for working with text files. With this article, I want to inspire you to, having exacted the deep-rooted habits in you, you tried a completely different, unlike any other, method of working with text.

Here I will manage without the history of Vim. Let me just say that the main developer of this wonderful editor is Bram Moolenaar, and he originated from the standard Unix editor - Vi, authored by Bill Joy.

Vi was created back in 1976. At the same time, its unusual interface was invented, based on the division of operating modes into: normal, insert mode and command line mode. Let many argue that such an approach arose only due to the limitations of the techniques of those times, but I argue that this method of work is more effective than anything other editors offer us.
')
Vim demonstrates true power when working with texts that have some structure, i.e. It is indispensable for programmers and web designers, but many of its features will greatly help when working with simple text.

I also assume that you know how to, or learn to type blindly, and have no doubt that this skill is extremely useful. If you have doubts about this, then I suggest reading a small digression.

Type blindly!


Why is it just necessary to type blindly?

Remember how you learned to ride a bike! At first you suffered, trying to understand how others do it, you could not drive even two meters. But you tried! You tried again and again. Maybe an hour, a day or even a few days. Not yet felt.

Remember how pleasant that feeling was when you first felt what to do and that you became like one with the bicycle? And then you quickly got used to it and forgot what happens otherwise ...

If you do not remember how you learned to ride a bike, remember how you learned to swim or skate, remember any of your skills!

So if you have to use a computer, enjoy communicating with the keyboard, instead of constantly feeling this terrible 100-button barrier (with a two-button button in addition) between you and the computer (and those with whom you communicate through the computer).

Type thoughts, not letters and words!

Vim - edit blindly!


The same glorious feeling about which I spoke above appears in Vim too.

If you are just typing blindly, you are happy to enter text without thinking about the process.

Having mastered Vim, you blindly start editing the text:
And all this blindly, without taking your hands off the keyboard, without using any interface elements and without using complex Alt, Ctrl, etc. Instead, only using mostly easy-to-remember commands.

The price of such pleasure is, as they say, a high barrier of entry, i.e. difficult and slow period of development. But this is the case when the only way to improve the quality of work is to invest time in training.

Are you ready to change?


So, if you are not afraid of difficulties in the way of mastering a completely different tool, if you are attracted by the prospects that I have talked about, I can offer you materials that you use to conquer this editor.

Tips for newbies:


Materials for further study


Other materials:


I wish you good luck in finding a new useful and enjoyable skill!

PS I have an idea to translate some materials into Russian (including
including continue the abandoned project on the translation of embedded documentation) and place it on a separate website. If among you there are willing to join, write!

Source: https://habr.com/ru/post/30058/


All Articles