I'm trying to create a shortcut (C-c c) regardless of what kind of file is currently opened (it could be a .pl file or a .txt file or an extension less file) pressing C-c c should turn on org mode if its not turned on already. pressing it again and again toggles it off and on....
Here's what I have
(global-set-key (kbd "C-c c") (lambda () (interactive) (org-mode))))
Any help? It's important that when turning off org mode, whatever the "native" mode the file was originally on comes back on.