Something has been annoying me for some time as I write this book in Google Docs: I want to be able to format text as code (Courier New) only using the keyboard. So I came up with this bookmarklet. It's one of those "works for me" so if it doesn't work for you feel free to modify and post here your version.
Basically I attach an event (FF way, so won't work in IE) that listens to the keyboard combination
ALT+x and then calls the appropriate editor command: