Skip to content

Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
solarized-toggler
(set 'nitemode nil)
(defun toggle-nitemode ()
"toggles nitemode"
(interactive)
(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)
(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.