Rookie Vimer Growth--No. 0 chapter, the VIM study in my eyes

Source: Internet
Author: User
Tags repetition

This is a systematic summary of VIM's learning articles, recording my own study of vim process and sentiment. At the same time also want to share out to everyone, welcome to discuss and learn from each other.

Here it is assumed that you have some basic knowledge of vim or vim that has been used for several months. Some of the basic concepts in this series may not involve or explain more. One is because there are some basic concepts that I can't explain at the moment. The more basic interpretation of the need for capacity, at present I do not have. The other is because I believe you, the great gods, you have a very good search function. Of course there are problems and welcome to discuss and learn from each other.

This article is mainly about my current understanding of vim learning. The following series of articles will be aimed at learning the actual combat "from familiar to proficient" specific presentation narrative.

Dilemma

From the beginning of contact with Vim to now nearly 2 years, the land continues to study vim not less than 5 times. There are reading, watching video, have a look at the blog ..., and then practice their own play, working environment used. However, I was caught in a dilemma: every use of the time probably know how to use, but also have to search the Internet, after searching carefully, after the test is very cool, after the fierce discovery has wasted a lot of time, and then the next scene to reproduce, has been dead cycle.

So this series of articles was born to get rid of this dilemma. I am a lazy person, do not want to spend time on the repetition of things.

Objective

The purpose of this series of articles is two. One is to master Efficient text editing thinking and habits. One is to completely eliminate the garbage repetition time caused by text editing .

Defined

Vim is a god-like text editor. Its core is to edit the text.

Advantages

Always find its merits in every place. The point is that I may not be able to tell the difference for the time being. Just in my eyes, it has so many advantages.

    • No platform porting issues, whether windows,linux or Mac, can be used for a lifetime.
    • The hand does not leave the keyboard main input area, the line of sight does not leave the target text. With the mouse and then cut back keyboard typing is very inefficient one thing, so I particularly like the shortcut keys, can not use the mouse do not want the mouse.
    • Focusing on content building is more important than typography, and word obviously can't. For the program ape, this is a huge event.
Learning experience

Everyone is talking about Vim's learning curve, which means that the threshold is high, but in the door is the general feeling of flying. Yes, that's what I'm talking about. Feeling, dividing these feelings is to hope that everyone will not feel lonely, in fact, we are all the same. Also hope that we can see as long as insist, feel will be more and more wonderful. Many people use VIM, and may end up helpless because the server environment can only use VIM. In fact, vim can end up like a lover.

Nightmare, what the hell is this?

At first it's notepad++, Word, edit. Monopoly your brain, these things deep-rooted, lingering the use of vim is a nightmare for you, it lowers rather than improves your productivity . The puzzle of three working modes even makes you think it is a bug-filled or at least a quirky software that is badly disconnected from today's friendly user interface designs. Will involuntarily say: "By, what a ghost!" ”

It's a pity to eat tasteless

Get familiar with some basic operations that are sufficient to handle your daily work, and you can use these actions without thinking about them at all. But you still rarely touch vim's obscure online help documentation at these stages. It's just notepad++ in your heart, edit a barely qualified substitute . In the heart will be a burst of sadness: "This thing seems to be no big place, and other editors are the same as editing files."

Just like a lover

Keep improving you are not satisfied with endless simple operation, long and boring, there is no better way to 42 pounds? In the second stage, the brain that has been dusty for so long has suddenly begun to function. every time the text editing experience is fun and exciting. Your mind is highly stressed out because of the need to do efficient editing with Vim . It's like being with a lover, you'll think it's wonderful!!

Learn Combat

No matter how many ideas, the end must be paid for the practice to be effective. Vim learning is more so. It has to practice a lot of repetitive exercises until it has become an instinctive response. Then we can solve the first dilemma. There are many ways to practice on the Internet, but the division is relatively thin and may not be suitable for lazy people like me. So I'm just a simple division of two actual combat phase. The first stage is mainly in the practice of hard work, coupled with custom exercises. The second stage is based on the first stage of reflection and summary reinforcement.

From unfamiliar to familiar

This stage is mainly practiced, so there is nothing to say. The first is that I want to combat the plan, after two is I want to practice training habits. Will not show the narrative for the moment

Practice Vimtutor

Must complete the practice vimtutor more than 3 times. Practice to be able to go through the split screen, left to see Tutor document right operation will not break. Practice to draw the mind map of vim yourself

Watch the help document at any time

The help document is too powerful!!! : Help everything. Get into the habit of having any unclear place to look for help, through help to deal with the details of the problem.

Use Vim without any time

No matter what system you work on, you have to use vim without a moment. Especially for Windows users, please install a gvim.

From familiarity to mastery

  This is also the main content of this series of articles . Through the narrative way, to learn the process of vim and the sentiment recorded.

The specific preparation is divided into the following pieces to unfold. For more detail, please follow the updated article. Each piece may be updated according to its structure hard articles.

The concepts that VIM involves

Vim involves a lot of text manipulation concepts, design concepts, etc., which are suitable for the entire vim operation. So the first thing to do is to clarify the concept, more is the habit of exercise thinking.

Vim Common Mode Classic operation

Based on the unified concept of the common 4 patterns in the classic operation of one-to-one narrative, so that the usual text editing repeat operation completely eliminated

Let vim know you better

Everyone's habits, as well as the work scene (some writing Js,html,python,shell, etc.) are different. So in addition to text editing, but also plug-ins and configuration , which will make us more comfortable to use. Further eliminate duplication of effort by eliminating repetitive garbage duplication times caused by manual setup

Wish

Wish every rookie Vimer can become vimer as soon as possible, enjoy the thrill of the artifact!!!!

Rookie Vimer Growth--No. 0 chapter, the VIM study in my eyes

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.