Speed up your work in Vim
If you don’t know what’s Vim, then:
An option “you’re using Emacs” is not included - you would have definetely known Vim. You’d hate it for the sake of “holly wars”.
I’m not an Emacs lover, neither those huge IDE’s with bunch of boxes, bookmarks, you name it. Most of these things are useless when you need to code something fast, so I just stuck with Vim: simple, light, fast, and have a lot of functionality. Here are just few tips of speeding up coding process I’ve been using lately:
If you got some repetitive function calls or anything you’re not bothered to print just fire up:
Comments:
:ab #ce /*******************************/
Printing
:ab #i include_once();
Minus another dozen of lines to be typed.
Text search:
You can
will find you “agent” in current file.
Using ftp:
cmap ,r :Nread ftp://ftpdomain/public_html/index.html
cmap ,w :Nwrite ftp://ftpdomain/public_html/index.html
These are just basics, Bram Moolenaar, the developer of Vim, got a good article on how to optimize your work with Vim, and David Rayner with his page of Vim tips. Compulsory to learn for Vim beginners!
