all repos — archive/dotfiles @ 88b381faace9ac226e340cc4db8fba6dd329b9a7

Superseded by nixfiles

Emacs: Configure spotlight on OS X
Alan Pearce alan.pearce@spotcap.com
Fri, 16 Oct 2015 11:24:37 +0200
commit

88b381faace9ac226e340cc4db8fba6dd329b9a7

parent

0f5ee55c871c91f6f74ddc6a7eec24992e124525

2 files changed, 11 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/Casktag-emacs/emacs.d/Cask
@@ -130,6 +130,7 @@ (depends-on "smartparens") (depends-on "smex")
 (depends-on "solarized-theme")
 (depends-on "spinner")
+(depends-on "spotlight")
 (depends-on "swiper")
 (depends-on "tern")
 (depends-on "toml-mode")
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -514,6 +514,16 @@ recentf-save-file (expand-file-name "recentf" user-emacs-directory))                (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