Skip to content

Instantly share code, notes, and snippets.

@viperscape viperscape/init.el
Created Sep 27, 2016

What would you like to do?
(set 'nitemode nil)
(defun toggle-nitemode ()
"toggles nitemode"
(cond ((not nitemode)
(load-theme 'solarized-dark t)
(set 'nitemode 1))
((eq 1 nitemode)
(load-theme 'solarized-light t)
(set 'nitemode nil))))
(global-set-key [f12] 'toggle-nitemode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.