Ok, why would you want to do this ?
Because you can.
1) Install this add-on which allows you to edit text areas in firefox using an external editor:
2) Install VIM
3) Setup the plugin to use vim (addOns->its all text addon->options)
4) make sure gmail is using “plain text” as editing – otherwise its not a text area, but some mad iframe.
6) Happy Days!