Amazing! I did not know this before you brought it up.
I found a useful post in stackexchange, and I'll integrate some of that information into this protip (with references of course) http://apple.stackexchange.com/questions/89981/remapping-keys-in-iterm2
In short, instead of selecting "Send Hex Codes", select "Send Escape Sequence", and just type "d".
The boxen docs specifically caution you against forking the our-boxen :P
Nice! Any tips on porting this to Fish? I'm quite new to the command line stuff, and I can't find any reference to %C, string interpolation or command line styling for Fish shell. /lost
update: Okay, so the reason why I was getting an error was, I was putting white space between the '='. My bad! Carry along.