diff --git a/spacemacs b/spacemacs index d60c813..d39db01 100644 --- a/spacemacs +++ b/spacemacs @@ -497,7 +497,7 @@ you should place your code here." (sp-pair "\"" nil :actions :rem))) (spacemacs/declare-prefix "o" "user prefix") - (set-note-key "o p" "projects" "../Work/projects.org") + (set-note-key "o p" "projects" "~/OneDrive - SRI International/projects.org") (set-note-key "o b" "boardgames" "Games/BoardGames.org") (set-note-key "o g" "groceries" "Grocery.org") (set-note-key "o G" "gloomhaven" "Games/Gloomhaven.org") @@ -508,7 +508,9 @@ you should place your code here." key (lambda () (interactive) - (find-file (concat "~/Dropbox/Notes/" note-name)))) + (if (cl-search "~" note-name) + (find-file note-name) + (find-file (concat "~/Dropbox/Notes/" note-name))))) (which-key-add-key-based-replacements (concat "SPC " key) label)) (setq custom-file "~/.dotfiles/emacs-local-custom.el")