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
make -f
Add a mode hook for org-mode that does a local-set-key instead of a global-set-key
local-set-key
global-set-key
(add-hook 'org-mode-hook (lambda () (local-set-key [f12] 'org-export-as-html)))