Book Review: Chanakya’s Chant

The tl;dr ver­sion? Get a copy and read the book for an interesting–albeit exaggerated–mix of his­tor­i­cal and con­tem­po­rary fic­tion with a dash of Machi­avel­lian pol­i­tics and strat­egy–Chanakya­neeti, to be precise.

Chanakya's Chant Cover

Chanakya’s Chant

With an attrac­tive golden cover, Chanakya’s Chant is a fairly short read that clocks in at just less than 450 pages.The typog­ra­phy and print qual­ity is good and eas­ily read­able. A rather uncon­ven­tional and inter­est­ing touch is added by a musi­cal ren­di­tion of the chant from which the novel derives it’s name.

Two sto­ries are inter­twined in the novel: Pan­dit Gangasagar’s tran­si­tion from the son of a sim­ple teacher to the power behind every­thing that hap­pens in the coun­try and Chanakya’s achieve­ment of uni­fy­ing Bharat and mak­ing Chan­dragupta the king. Both move at the same pace, over­com­ing chal­lenges with aston­ish­ingly well thought, gen­er­ally twisted and cold-hearted machi­na­tions by the two power-brokers. The nar­ra­tive becomes all the more inter­est­ing because of the par­al­lels in both the prob­lems faced by Chanakya and Gan­gasagar and their solu­tions in spite of the few mil­lenia between the two.

Pan­dit Gangasagar–as the mod­ern day Chanakya–truly steals the show as he applies his art to pol­i­tics. Essen­tially, it is the twisted tricks and plots and plots within plots within  plots that are be rel­e­vant today that make this book the worth­while read it is. See­ing reflec­tions of var­i­ous indus­tries, the extra­or­di­nary polit­i­cal scan­dals and the ADD afflicted media and pub­lic in the book just add to the fun.

The novel starts off fairly promis­ingly from the end of the story with a cliffhanger–though it does seem to lose steam in the begin­ning as the plot is devel­oped and the char­ac­ters are intro­duced; by mid­way both the author’s style of writ­ing finally set­tles down and the pace of the plot picks up to make the novel a page-turner–you really do want to know how both Chanakya and his mod­ern day avatar: Pan­dit Gan­gasagar ful­fill their ulti­mate aim.

Cer­tain themes stand out within the book–the pro­tag­o­nists’ ruth­less­ness in their aims, the sac­ri­fice of love for what they must achieve; the impor­tance of being ahead in under­stand­ing the world as well as tech­no­log­i­cally to suc­ceed; weak­nesses in men that can be exploited. Finally–that all debuts, for good or evil, must be repaid in full.

The style and tone of the book seemed to vary dur­ing my first read–initially the dia­logues and descrip­tions seem bit forced and jerky, one par­tic­u­lar gem that stands out in the pro­logue itself is

eyes–little video cam­eras that had seen and stored away the very worst of human behav­iour in the giga­bytes of his brain’s hard disk”

How­ever, as the book pro­gresses, it set­tles down well and becomes infi­nitely more read­able with a hint of Rushdie peek­ing out here and there. The author fre­quently uses famous quo­ta­tions attrib­uted to var­i­ous politi­cians through­out the world to make Chanakya/Gangasagar appear all the more wise; some­thing he acknowl­edges at the end of the book with references.

This review is a part of the Book Reviews Pro­gram at BlogAdda.com. Par­tic­i­pate now to get free books!

Information Starvation—the side effects

Well, it’s been almost 10 days since I for­swore my daily fixes of information—Hacker News, Twit­ter and even Google Reader. While there have been with­drawal symp­toms, it’s nowhere near as hard as I thought—nor is it as productive.

Unfor­tu­nately, the leaks I can­not plug at the moment—Facebook, Google+ and stan­dard GMail have enough to keep me satisfied—I might not be get­ting new links as soon as they arrive, but quite a lot of impor­tant stuff seeps in through the cracks: shares on either of social net­works, as part of var­i­ous newslet­ters, and occa­sion­ally even in the newspaper.

I have man­aged to re-read quite a few favourite nov­els in the past few days (Wheel of Time Series, I’m look­ing at you) and get a bit of papers and com­plex prob­lems sorted; delv­ing a bit into Word­Press core code as part of my work on PressTest in the past few days. How­ever a side effect has been that a few days ago I had to stop every­thing because I got a bit men­tally exhausted: I had been jug­gling com­plex num­ber the­ory, rather advanced elas­tic­ity, a his­tory of the world post 1914 (WW1’s begin­ning, if you didn’t notice), a rather engag­ing descrip­tion of the finan­cial col­lapse (Too big to fail)—and irreg­u­lar fla­menco and clas­si­cal gui­tar practice.

Whether appar­ently cause­less phys­i­cal exhaus­tion could also account for this; but this is some­thing I’ve observed: when I truly con­cen­trate on what I read, and what I read is worth remem­ber­ing or sim­ply, pars­ing properly—I can get exhausted soon. The only antidote—or rather, medicine—is pass­ing time as a sim­ple, uncrit­i­cal and pas­sive observer: the rea­son I re-read my favourite fan­tasy novels.

Some­thing about step­ping out of my nor­mal, occa­sion­ally rather bor­ing life into the shoes of an omnipresent yet impo­tent observer in a com­pletely dif­fer­ent world lets me dis­con­nect and look at myself objec­tively when I return.

Another 20 days—let’s see what they bring.

Comparing a few fantasies

As opposed to the per­haps rather, ahem, sen­sa­tional title the actual post is about some­thing far more mundane—I’ve noticed more than a few com­mon plot ele­ments in a few recent fan­tasy series I’ve read—consider the fol­low­ing novels/series:

  1. The Way of Kings, Bran­don Sanderson
  2. A Song of Ice and Fire, George R.R. Martin
  3. The Wheel of Time, Robert Jor­dan and Bran­don Sanderson
There seem to be far too many recur­ring themes in these books:
  1. Each of these series invokes a dark and murky past that no one seems to have proper records of or remem­bers at all com­plete with dan­ger­ous crea­tures who were some­how defeated—to be pre­cise, the Shai’tan was some­how defeated be Lews Therin in the Wheel of Time, there seems to be an unknown, hid­den enemy in The Way of Kings that was there in the past and finally the Oth­ers in A Song of Ice and Fire.
  2. Magic—or the cur­rent fan­tasy world’s equivalent—seems to have become incred­i­bly weaker as com­pared to that of the older times. There are inevitably age old arti­facts that no on knows the mak­ing of, and a rather large sec­tion of the nov­els is spent build­ing up on this premise. Again, con­crete exam­ples include Ter’Angreal in EotW, Obsid­ian Blades/Dragonglass in aSoIaF and the Shards as well as shard plate in AWoK.
  3. The main pro­tag­o­nists in each novel seem to be part of the new gen­er­a­tion that sud­denly regains skills that have been lost for centuries—again, we see cre­ation of shard­plate alter­na­tives, Elayne re-creating Ter’Angreal, if imper­fectly and the mage in aSoIaF being able to light a drag­on­glass can­dle again.
  4. Almost every series empha­sizes how the infight­ing between the human race is weak­en­ing the world and directly allow­ing vic­tory to the oth­ers. In Mar­tin it’s the many kings fight­ing against each other inspite of the pend­ing threat from the Oth­ers, in WoT it’s all about Rand Al’Thor reunit­ing the world before the Dark One’s seals are bro­ken, and there are dark and omi­nous hints in The Way of Kings about unit­ing the peo­ple of the nation before dis­as­ter occurs. Is this sup­posed to be some real-world metaphor I’m miss­ing out on?
  5. Then there’s the con­cept of the Cre­ator of these worlds—the cur­rent gods of the aSoIaF series seem to have dis­ap­peared, the cre­ator of the world in tWoK is explic­itly men­tioned to have passed away and there is no sign of the Cre­ator in WoT apart from the exis­tence of the source. On the other hand, the neg­a­tive halves—omniscient, omnipresent evil is shown both explic­itly and in flashes (what else could the pro­tag­o­nists spend their lives work­ing against?)
There are a few more minor par­al­lels, but these are the ones that come to mind first. Per­haps we could write an epic fan­tasy series of our own with the pre-requisite ingre­di­ents: a dash of a mys­te­ri­ous past with a hid­den enemy who has just started get­ting active again; hap­less pro­tag­o­nists for good who dis­cover innate pow­ers and abil­i­ties that had been lost for ages; a healthy pinch of mag­i­cal dust of some form or another and tales of intrigue, crowns, pol­i­tics at al.
I have enjoyed read­ing each and every one of these novels—in fact I’ve re-read both the Wheel of Time and A Song of Ice and Fire series sev­eral times (The Way of Kings is the last new fan­tasy novel I read), but beyond a point it becomes a rehash of what you’ve already seen, per­haps not unlike the infa­mous Mills and Boon series (did I get the spelling right) which seem to thrive on the fact that the cen­tral plot is always the same.

On Green Technology

What is Green Technology?

Green tech­nolo­gies, sim­ply defined are those tech­nolo­gies that are envi­ron­men­tally friendly and are at the same time used for com­mer­cial gain.

This is an essay I wrote for Honda Yes 2009. I didn’t get selected, but I still liked the essay, and decided to share it.

The devel­oped coun­tries – those that make use of the max­i­mum resources 1 – are not will­ing to cut down on their usage and lifestyle, which is under­stand­able. Devel­op­ing coun­tries are not ready to stop growth just for the sake of com­pen­sat­ing for the pol­lu­tion caused by oth­ers – which is even more under­stand­able. The only obvi­ous way out – new tech­nolo­gies which aim at sus­tain­able, envi­ron­men­tally friendly development.

Ideal green tech­nolo­gies are those that at one and the same time are envi­ron­men­tally friendly, finan­cially viable and socially equi­table. Achiev­ing all three at the same time is a daunt­ing task, indeed, most envi­ron­men­tally friendly tech­nol­ogy is found to be finan­cially pro­hib­i­tive, but the only way we can keep devel­op­ing and ful­fill­ing the needs of the 6.787 bil­lion 2 (and count­ing) peo­ple inhab­it­ing this planet.

Ben­e­fits and Problems

For the environment …

The ben­e­fits of using green tech­nol­ogy are many – start­ing with the all impor­tant energy sec­tor (over which wars are insti­gated and car­ried out). The first point we must real­ize is that mov­ing away from Fos­sil Fuels is not nec­es­sary only because of their lim­ited avail­abil­ity but also because of the exces­sive harm that they do to the envi­ron­ment. The US Energy Infor­ma­tion Admin­is­tra­tion has put the peak oil pro­duc­tion in May 2005 and July 20063 – dates we have already passed. The emis­sions of car­bon diox­ide have been grad­u­ally increas­ing through the years.

By switch­ing from fos­sil fuels to less pol­lut­ing sources of energy, we might be able to at the same time avert the impend­ing energy cri­sis and also reduce the effects of global warm­ing. Pos­si­ble alter­na­tives pro­vided by green tech­nol­ogy are solid fuel cells, nuclear power (a bit con­tro­ver­sial as it does gen­er­ate waste prod­ucts), solar energy and wind energy.

The down­side is that the amount of effort and invest­ment required to switch to green energy sources is mas­sive. Hydro­gen based fuel cells are cur­rently not suit­able as han­dling hydro­gen is very dan­ger­ous and a mas­sive net­work will be required for dis­tri­b­u­tion, etc. Nuclear energy pro­duces extremely toxic waste prod­ucts which must be spe­cially stored sep­a­rately. The biggest fac­tor that makes switch­ing to Green, rather, any alter­na­tive tech­nol­ogy so dif­fi­cult is the mas­sive iner­tia caused by the world’s depen­dence on the stan­dard fos­sil fuels.

… and the companies

Switch­ing to green tech­nol­ogy for com­pa­nies also greatly increases their CSR value and even dri­ves busi­ness to the com­pany – green tech­nol­ogy is eco­nom­i­cally viable and the fact that a com­pany is using envi­ron­men­tally friendly tech­niques dri­ves cus­tomers to that company.

As an exam­ple, con­sider GE Eco­mag­i­na­tion:  a pro­gram started by Gen­eral Elec­tric to reduce energy con­sump­tion and increase effi­ciency, while at the same time cut­ting costs – which is highly impor­tant in today’s reces­sion. In the some note, they also aim at increas­ing R&D to $1.5 bil­lion by 2010 4.  As of today, they are work­ing on reduc­ing emis­sions, water con­sump­tion, reduc­ing waste gen­er­ated, work­ing on improved wind-energy gen­er­a­tion, etc.

Con­sid­er­ing the rev­enues of the com­pany in 2008 – the con­sol­i­dated rev­enue reached $183 bil­lion while the green-house gas emis­sions have reduced from 7.50 (2004) to 6.49 (2008) mil­lion met­ric ton CO2 equiv­a­lents, oper­a­tional GHG inten­sity from 60.58 to 35.58 (met­ric tonnes per $ mil­lion rev­enue), oper­a­tional Energy Inten­sity from 496.69 to 312.75 (MMBTu per $ mil­lion rev­enue) and energy use has reduced from 61.50 to 57.0 $ mil­lion MMBTu – an ideal appli­ca­tion of green technology.

On the flip side GE has a his­tory of large-scale air and water pol­lu­tion; based on year 2000 data it has been listed as the fourth largest cor­po­rate pro­ducer of air pol­lu­tion in the United States apart from being impli­cated in the cre­ation of toxic wastes; so, at one level Eco­mag­i­na­tion can be con­sid­ered as prof­itable CSR as well as rid­ing the cur­rent “Go Green” wave all over the world – Green Tech­nol­ogy def­i­nitely makes a lot of busi­ness sense.

But what about the people?

What we can­not for­get, in all the cur­rent enthu­si­asm about green tech­nol­ogy with the buzz­words of “sus­tain­able devel­op­ment”, “business-sense”, etc. that right at this moment a quar­ter of this world’s pop­u­la­tion is below the poverty line, too many peo­ple do not have access to drink­ing water nor food. And I would rather not com­ment on the per­cent­age of peo­ple liv­ing in war-torn areas.

There is always the urgency of div­ing in, using what­ever resources we have at hand to help. To be able to look at our­selves in the mir­ror, we must. One fact that must be clear to the world at large and the elite in spe­cific is that only we, with access to all the resources that we have at our dis­posal can be expected to cut down. You can­not steal from peo­ple who have nothing.

Our enthu­si­asm for ‘sav­ing the world’ can­not reach the extent that we deny devel­op­ment in order to reduce envi­ron­men­tal degra­da­tion. Every­one must be brought to a com­mon, sus­tain­able base­line – what is too often ignored by media and peo­ple in gen­eral is that this involves bring­ing the resource uti­liza­tion by cer­tain sec­tions of the world up rather than down.

Such a strat­egy, I believe, in the long run will pay for itself – when we reach the peak of civ­i­liza­tion with the world at 100% lit­er­acy and aware­ness, and the basic neces­si­ties of life sat­is­fied for all, sus­tain­able devel­op­ment will be a way of life and not a goal.

As a cit­i­zen of the Earth,

I will rec­om­mend that we use Green Tech­nol­ogy as far as pos­si­ble, even if the short term costs are on the high side in terms of research required and money invested – for oth­er­wise, we will never be able to pay the debt incurred by mis­man­ag­ing our nat­ural resources.

All of us must real­ize for a fact that our resources will, at best allow us to main­tain our cur­rent rate of devel­op­ment for a few decades – at worst, for a few years. We have already seen exam­ples of ris­ing polit­i­cal ten­sion over energy sources; what we may not have yet real­ized is that if the sit­u­a­tion wors­ens we may even be fac­ing wars over resources like fresh water.

The threat of global warm­ing has been hang­ing over our heads for years but has not been really been addressed yet; par­tic­u­larly by cer­tain devel­oped nations. The very con­cept behind Car­bon Cred­its is sym­bolic of why we have not been able to con­trol Car­bon Diox­ide emis­sion to any worth­while extent today – very few coun­tries are will­ing to give up their way of life for goals span­ning many life­times, and not sim­ply those of the cur­rent generations.

Instead of expect­ing or brib­ing other coun­tries to reduce emis­sions (and thus reduc­ing their own guilt) every coun­try must work towards the com­mon goal of reduc­ing resource exploita­tion, over­pop­u­la­tion and exces­sive reliance on fos­sil fuels; to look at the really big pic­ture – the one beyond bound­aries, lan­guages and even species.

The onus of improve­ment does not lie solely with the gov­ern­ments and large cor­po­ra­tions of the world; rather every sin­gle per­son must par­tic­i­pate in every way he can. Every small effort, when con­sol­i­dated over 6 bil­lion peo­ple, has a mas­sive effect.

As a sin­gle per­son, I can con­sciously reduce my energy con­sump­tion, per­haps research bet­ter tech­nolo­gies; spread the word to my neigh­bours. As 6 bil­lion peo­ple, I can vote out envi­ron­men­tally indif­fer­ent gov­ern­ments, dis­miss resource hun­gry com­pa­nies, change the course of his­tory by choos­ing the right lead­ers and mak­ing my voice heard.

Of course, that means I must iden­tify myself as more than a Del­hite, an IIT­ian or an Indian. I must real­ize that I’m an earth­ling – and more impor­tantly, so is every­one else.

You must real­ize that at no place have I spec­i­fied that it is the Youth’s pre­rog­a­tive to achieve tar­get X, or that Y must do what they can. I believe this to be one of the great­est draw­backs in today’s approach to devel­op­ment – at no stage should there be any dis­tinc­tion on sav­ing the world. Every­one can be a super­man in his own way, and do his own bit to save the world. (Or super­woman; and her, as appropriate.)

As an Engineer,

I must and will push towards a rad­i­cal change in the cur­rent design beliefs – we must do away with planned obso­les­cence. Every­thing from the ultra-sophisticated cell-phone to the plas­tic water bot­tle must be made to last. We can­not expect to keep har­vest­ing resources indef­i­nitely and expect no reper­cus­sions; con­sider the words (and work) of Mechan­i­cal Engi­neer Saul Grif­fith – “The busi­ness plan for the next cen­tury should be to take every object you sell and fig­ure out how to give the ser­vice of that object to the con­sumer with one-tenth of that power.

Spe­cial­iz­ing in Struc­tural Civil Engi­neer­ing, there is a lot of scope where work can be made more envi­ron­ment friendly. Waste mate­r­ial (plas­tic) is being exten­sively used in mak­ing roads, reduc­ing land­fills, etc. Build­ings should be designed and con­structed on lines sim­i­lar to those spec­i­fied by the U.S. Green Build­ing Coun­cil, Lead­er­ship in Energy and Envi­ron­ment design LEED (an inter­na­tional green build­ing cer­ti­fi­ca­tion sys­tem) 5.

The fun­da­men­tals behind LEED, and rather, any such sys­tem are sus­tain­abil­ity – the design must respect the com­mu­nity and cul­ture behind the build­ing, con­sid­er­ing all socioe­co­nomic lev­els; inclu­sive­ness – involve the com­mu­nity in the design; progress – the impact of the build­ing on the envi­ron­ment, com­mu­nity and econ­omy must be quan­tifi­able; con­nect­ed­ness – rec­og­nize the rela­tion­ship between man and nature and give empha­sis to it.

From var­i­ous stud­ies car­ried out in Amer­ica, where LEED is being grad­u­ally intro­duced into the stan­dard codes, it has been shown that – as with almost all other green tech­nol­ogy – the ini­tial cost might appear pro­hib­i­tive, but in fact, the pay­back in the long run more than cov­ers up for them 6.

Bet­ter, more effi­cient meth­ods devel­oped across the world must be open – while intel­lec­tual prop­erty rights must be main­tained and there must be suf­fi­cient stim­uli, mon­e­tary and oth­er­wise for peo­ple to inno­vate – research and results must be open and shared. A sin­gle com­pany or coun­try dis­cov­er­ing an alter­na­tive source of energy and then hid­ing it/not shar­ing it with the rest of the world is sim­ply a waste.

The urgency and impor­tance of the cur­rent sit­u­a­tion requires open col­lab­o­ra­tion between coun­tries – with the devel­oped help­ing the devel­op­ing in imple­ment­ing these. Mak­ing costs of green tech­nol­ogy more pro­hib­i­tive than they must me is the height of foolishness.

In con­clu­sion,

I end by sim­ply reit­er­at­ing the theme that has been present through­out this essay – we must work together, as peo­ple, as coun­tries, as cor­po­ra­tions to meet the com­ing chal­lenges and short­ages caused by our own exploita­tion of avail­able resources. We can­not face them alone, but we might sur­vive together.

Editors for coding?

So today’s post begins with a ques­tion: what edi­tor is your favourite? Do you have sep­a­rate edi­tors based on dif­fer­ent con­texts (eg. Net­beans for Java, Dreamweaver for sites), or do you tend to stick to a sin­gle Man Fri­day to ful­fill all your needs? Do you pre­fer IDEs or sim­ple text editors?

My answer for the above questions:

I love gVIM (graph­i­cal VIM). I’ve set it up to work over SSH in Win­dows (I work on a dif­fer­ent box and merely use my lap­top as a con­ve­nient inter­face), hid­den all menu bars and installed a colour theme pack of which I’m cur­rently using “Evening”. And I’ve started using VIM for every code related task I do. In defence of my choice, allow me to intro­duce some of the basic func­tion­al­ity included in VIM and some prac­ti­cal use cases: (Not intended as a tuto­r­ial, but a quick glimpse at the great func­tion­al­ity on offer)

  1. Sim­ple Edit­ing
    Typo­graph­i­cal errors are the programmer’s bane. And if they’re not shown as errors (occa­sion­ally the case with var­i­ous Javascript libraries), life becomes hell. Quick cor­rec­tion options in vim:

    • dw, dd, etc. Basi­cally, both for delet­ing and cut­ting text. dw deletes till the end of the line. d2w deletes 2 words. dd deletes the cur­rent line. Enter­ing %d on the com­mand line (i.e. using : ) deletes the full file. D deletes until the end of the cur­rent line. Con­sid­er­ing stan­dard equiv­a­lents, I’m always aston­ished by what I can accom­plish so quickly in VIM.
      I really tend to use d…d to quickly get rid of large chunks of com­mented code. Or sim­ply for mov­ing code around very very quickly.
    • r, rw, etc. d was for delete. r is for replace. Need I elab­o­rate?
      I tend to mis-type cer­tain words a lot. Really easy for me to just go over the offend­ing char­ac­ter and type in rx, where x is the new char­ac­ter I want to replace it by.
    • o, i, a, A, etc. Sin­gle key­presses for: 0: add a new line after cur­rent one and start edit­ing, O: add a new line before the cur­rent line and start edit­ing, a: start append­ing after cur­sor, i: start insert­ing before cur­sor, A: insert stuff at end of the cur­rent line.
      A is the for­get­ful programmer’s boon. Really use­ful for adding ; at the end of lines.
  2. Edit­ing over scp/ftp/etc.
    Vim comes with a spe­cial plu­gin (NetRW) that lets you quickly edit files over your pro­to­col of choice. I reg­u­larly use
    :e scp://<username>@<host>/path/
    to get a direc­tory list­ing of all the files in that path; choose your file and edit away.
  3. Search and replace
    Ever changed a vari­able at the last minute and had to change it? Eas­ily carry out reg­u­lar expres­sions over very sim­ply defined yet com­plex range of lines using /<pattern>/ or :s/<pattern>/<substitute>/flags. You can even carry out com­mands on match­ing por­tions. One of the most use­ful fea­tures I’ve used once I got the hang of it.
  4. Ranges
    Vim’s flex­i­bil­ity in terms of defin­ing ranges for substitution/deletion/anything you’d care to men­tion is amaz­ing. One of the fea­tures I most con­stantly use is ‘marks’ that allow you to mark cer­tain posi­tions to be eas­ily ref­er­enced later.
  5. Too many colour themes
    The amount of pos­si­ble colour themes avail­able is aston­ish­ing. And allows a UI freak like me to be com­pletely sat­is­fied with what I’m cod­ing in. And switch­ing quickly when I want to.
  6. Reg­is­ters
    Reg­is­ters allow you to cut/copy and store stuff in dif­fer­ent named “reg­is­ters and then paste where and when you want. Any­one who’s shuf­fled through var­i­ous files can eas­ily com­pre­hend the huge help this is.
  7. Buffers and Tabs
    Tabs are essen­tial to any decent pro­gram today. Buffers are tabs with­out the graph­i­cal inter­face indi­cat­ing their pres­ence. The best part is while using Vim in linux I tend to use
    gVIM –p *.php
    and other such com­mands to quickly open all files of  a sin­gle type in tabs in a sin­gle win­dow. Really makes find­ing the right file much much easier.
  8. Ses­sions
    Using :mkses­sion and :source allow you to quickly open all the files you had open the last time you sat down to work. And as you get to choose where the file con­tain­ing the ses­sion is saved, han­dling ses­sions becomes really sim­ple and easy.
  9. Abbre­vi­a­tions
    How many times do you find your­self using com­mon stuff like console.log() or error_log() while debug­ging? Just use the com­mand
    :ab cl console.log
    and every time you type cl( (fol­lowed by a space/newline/./(/etc.) it will be auto­mat­i­cally expanded. I imag­ine you can see the pos­si­bil­i­ties. Inter­est­ingly, abbre­vi­a­tions can be saved in ses­sions so if you don’t want to keep an abbr. around for a long time, or have some­thing spe­cific (such as a class name) just use and save it in the session.
  10. Key Map­ping
    Map keys to carry out your most often used commands.
  11. An awe­some com­mu­nity
    There are thou­sands of sites out there with point­ers on using VIM as well as an excel­lent Vim tips twiki. Be sure to check out the VIM tips twiki and this pre­sen­ta­tion on VIM for PHP pro­gram­mers by Andrei Zmievski to get a much bet­ter idea of what VIM is capa­ble of.

Also, for those of you who edit a lot of stuff on the web (using text boxes), install It’s all text to edit any text box’s con­tents using your favourite edi­tor (VIM, any­one?). This post was writ­ten in gVIM, opened via “It’s all text” on the excel­lent blog­ging plat­form pro­vided by Word­Press.