summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.org10
2 files changed, 11 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index ba75ee8..ead4a52 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -130,6 +130,7 @@
 (depends-on "smex")
 (depends-on "solarized-theme")
 (depends-on "spinner")
+(depends-on "spotlight")
 (depends-on "swiper")
 (depends-on "tern")
 (depends-on "toml-mode")
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 677358e..008b5b1 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -514,6 +514,16 @@ I only use this occasionally, but it’s nice for files outside of projects.
                (recentf-mode 1)))
 #+END_SRC
 
+** spotlight
+
+An awesome way to open files on OS X.
+
+#+BEGIN_SRC emacs-lisp
+  (req-package spotlight
+    :if (eq system-type 'darwin)
+    :config (setq spotlight-tmp-file "/tmp/.emacs-spotlight-tmp-file"))
+#+END_SRC
+
 ** saveplace
 
 It.. saves the position I visited a file at last.  Might try turning