Is it possible to assign a key-binding that depends on the current file extension ?
What I would like to have is that e.g. ctrl-alt-f formats my javascript source if I’m currently working on a javascript file and if I’m working on a ruby file it should format my ruby file accordingly.
Regards
Roger