is there a way to get different shortcut for different file types?
Tipically I use F12 to compile. It runs make -f. I’d like to have F12 running
M-x org-export-as-html
when I’m on Org-mode.
How should I edit my .emacs file? Currently it’s just:
(global-set-key [f12] ‘compile)
Thanks,
hamen
Add a mode hook for org-mode that does a
local-set-keyinstead of aglobal-set-key