I currently have the following as part of my Vimperator configuration to use MacVim (gvim) to edit text fields:
editor=/bin/bash -lc "mvim -f \$*" mvim
This works well, but the temporary file it creates has a .tmp extension and I would like to give it a different extension so that I can have Vim associate that with a filetype and thus set up a bunch of options made for editing.
Is there a configuration in Vimperator or Vim that can do this?