[Hacker] The form of VIM user brain

Source: Internet
Author: User

Via: Kevin Watters's blog
Translation: xguru

Original Status
I have watched a violin player play with great passion. I have this idea: Maybe I have invested almost the same number of brain cells in the text editor as I have played a favorite instrument. I also have a strange imagination. When he solo, the MRI in his brain may not be much different from the image I used to manipulate the code in Vim, right?

 

If you want to, please think carefully. The following is a clip of vimmer's learning journey.

 

Vim nirvana has gone through a long and hard road Monday

"Eclipse is concise and practical, of course"

"But some strange guy with a big face seems to be using Vim very quickly at work. I should try it ."

"Okay! I made gvim, which does not look very bad. There is even a menu interface here !"

"What are you waiting? Where did my text go? Wait, undo it. No !"

": Help"

": Q !!!!!"

The rest of the day is to go back to eclipse, which has the addictive auto-completion model function.


Tuesday

"Well, Vim, This is a new day. This is a brand new opportunity to sharpen your learning skills. I am not so easy to give up !"

"Why can't I stay in the insert mode all the time? Fjdsakljdalskjkldf (maddening the keyboard )"

"Wait, when you tell me to save it, you must press ESC-shift-colon-w-enter? This is a shit"

"After two hours of study, What I basically understand is that the DDP command can exchange two lines of content. It hurts"

 

One week later

"Wow, there is Vim everywhere, which means that all the effort will not be wasted. For example, when I use SSH to remotely log on to the host and modify some configurations"

"It's so cool, hey, let's take a look at this dark color theme. My new toolchain looks very comfortable on the surface"

"Oh, it's really bullshit. My. vimrc isn't in my remote host. When I log in via SSH to edit some configurations, all my cool playings will be lost"

Two months later

The way hjkl moves is naturally lost, and you may lose the ability to use the mouse mysteriously.

"I will always use the 400 plug-ins I just downloaded! Especially this plug-in that folds latex syntax. Oh, buddy"

"Using the arrow keys is almost self-defeating"

"Goodbye, Caps Lock key"

"That's it. This is the limit of patience. Vim cannot even make the Text wrap appropriate. I'm going to return to edit.com"

One year later

Speak louder.

Install the command-T plug-in to save thousands of keyboard hits every day.

Use a macro to impress someone on the back of your shoulder, by mixing case-sensitive and mixed rot13 codes in the entire file (Rotary thirteen-bit encryption ).

Eventually, on a miraculous day, we learned to use Ctrl + [in muscle memory to delay the onset of wrist inflammation.

I learned how to move the cursor and use the visual mode and * Key-this means there is no backend.

"Vim does not support interactive caching? It's been 20 years? Okay, as a hacker, I decided to add this support to it ."

View the vim code library and frantically make it run in the opposite direction.

"Who needs to get a console in the editor anyway? I am all UNIX philosophy ."

The idea that "Vim only merges an editing mode into a real Editor" is intolerable.

Because you always reply ": W" in the room, IRC friends finally isolated you.

Two years later

The Vim script is a type of deep sorrow for God.

I think the Emacs command mode from the beginning is a bit like in heaven.

I had a nightmare last night and dreamed that I had never learned to vertically split the window in a wide-screen display, which is really confusing.

Secretly glance around, bind Ctrl + S to save, allow yourself to breathe a sigh of relief.

Aware that the hjkl search positioning is not enough to become the ultimate time saving tool, we found that: Python scripts, a large number of custom functions have reached their peak, it feels a little bad to bind the <leader> key until your keyboard is a bit as diverse as the control panel of the NASA Command Center.

"Hey, every guy who heard my voice came to see me. I now control my computer, write a blog, check emails, run tests, debug programs, and browse Hacker News.
Everything can be done in Vim's warm and comfortable, super customizable parent"

Why don't you just try to celebrate?

Fuzzy for a long time later

After the speech "significant advantage of modal in text editing", I lost several friends.

Enjoy. The boot time log is written to the server, and the Nano is subconsciously used to edit the configuration file. I am not ashamed to update all configuration files without using more syntaxes in Plug-ins and vimrc.

It becomes very calm, and repetitive editing tasks are no longer difficult for you to participate in the debate on who Emacs is and VIM is.

... This is the final form of the brain you use vim.

 

 

From: http://www.cppblog.com/xguru/archive/2010/12/22/vim_brain.html

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.