by Rudism · 14y ago · 0 comments
Staying late one night to finish an assignment that was due at midnight, you happened to catch a glimpse over one of the quiet uber-programmer's shoulders. Your eyes twinkled from the glow of rows upon rows of monitors in the darkened computer lab as you witnessed in awe the impossible patterns of code and text manipulation that flashed across the screen.
"How did you do that?" you asked, incredulous.
The pithy, monosyllabic answer uttered in response changed your life forever: "Vim."
At first you were frustrated a lot, and far less productive. Your browser history was essentially a full index to the online Vim documentation; your Nano and Pico-using friends thought you were insane; your Emacs using friends begged you to change your mind; you paid actual money for a laminated copy of a Vim cheat sheet for easy reference. Even after weeks of training, you still kept reaching for your mouse out of habit, then stopped with the realization that you'll have to hit the web yet again to learn the proper way to perform some mundane task that you never even had to think about before.
But as time went on, you struggled less and less. You aren't sure when it happened, but Vim stopped being a hindrance. Instead, it become something greater than you had anticipated. It wasn't a mere text editor with keyboard shortcuts anymore—it had become an extension of your body. Nay, an extension of your very essence as a programmer.
Editing source code alone now seemed an insufficient usage of Vim. You installed it on all of your machines at home and used it to write everything from emails to English papers. You installed a portable version along with a fine-tuned personalized .vimrc file onto a flash drive so that you could have Vim with you everywhere you went, keeping you company, comforting you, making you feel like you had a little piece of home in your pocket no matter where you were.
Vim entered every part of your online life. Unhappy with the meager offerings of ViewSourceWith, you quickly graduated to Vimperator, and then again to Pentadactyl. You used to just surf the web. Now you are the web. When you decided to write an iPhone application, the first thing you did was change XCode's default editor to MacVim. When you got a job working with .NET code, you immediately purchased a copy of ViEmu for Visual Studio (not satisfied with the offerings of its free cousin, VsVim).
Late one night, as you slaved away over your keyboard at your cubicle, working diligently to complete a project that was due the next morning, you laughed to yourself because you knew no ordinary programmer could complete the task at hand before the deadline. You recorded macros, you moved entire blocks of code with the flick of a finger, you filled dozens of registers, and you rewrote and refactored entire components without even glancing at your mouse. That's when you noticed the reflection in your monitor. A wide-eyed coworker looking over your shoulder. You paused briefly, to let him know that you were aware of his presence.
"How did you do that?" he asked, his voice filled with awe.
You smile, and prepare to utter the single word that changed your life. The word that, should your colleague choose to pursue it, will lead him down the same rabbit hole to a universe filled with infinite combinations of infinite possibilities to produce a form of hyper-efficiency previously attainable only in his wildest of dreams. He reminds you of yourself, standing in that darkened computer lab all those years ago, and you feel a tinge of excitement for him as you form the word.
"Vim."
:wq
It is exactly how it happened to me. I looked over shoulder of one guy and when he changed some code in front of my eyes before I could blink, I asked him 'How did you do that?' And rest is history.
I look forward to being one of these novices. I'm faster in vim than any other editor by far, but I know I could still be 2x faster.
I've got a quarter century history with vi and its kin, and am still learning new tricks.
One time I had to do a college project in a language I had not used before, JESS (JRE cousin of CLIPS). Though its similar to Scheme in which I had coded a few years before, it has a few of its own syntactic idioms. I planned to do the project in VIM. As there was no baggage of using JESS with any IDE before, there was no such thing as a hindrance or inhibition which I used to have while trying to using VIM for coding C/C++, etc.
Within the next 2-3 weeks I learned the basics and a few intermediate use-cases of VIM (refactoring using registers, etc...). After finishing the project, I shifted to code in C/C++ using VIM has my primary editor and have never looked back since. I basically piggybacked my experience with VIM in JESS and the it took less than a day to translate all that and use it with C/C++ code :)
With regards to ViEMU, my use case is to open the same file in both VIM and Visual Studio quite sometimes as they both can detect changes made to the file outside of the editor. So far its worked without any issues :)
http://stackoverflow.com/questions/1088387/what-specific-pro...
After a couple of months, he got used to enough Vim functionality to make the jump. He was also motivated by the vim-features lacking in Sublime Vintage mode, but I can't recall which ones specifically were missing
Stay classy.
i
Hi, Just want to say thank you for this beautiful note.
:wq
$sendmail <Rudism's mail> < thanks.txt
PS: had you provided the email in your profile. I might have actually mailed you :-)
(no need to hit <Enter>)
(no need to quit Vim ;-)
(Never ever leave vim)