Created
August 1, 2018 15:54
-
-
Save mullr/27828489787d08e047e4078512505daa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun custom/toggle-notes () | |
(interactive) | |
(if (string= "notes.org" (buffer-name (current-buffer))) | |
(spacemacs/alternate-buffer) | |
(find-file "~/Dropbox/notes/notes.org"))) | |
(global-set-key [f12] #'custom/toggle-notes ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment