From 88b381faace9ac226e340cc4db8fba6dd329b9a7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 16 Oct 2015 11:24:37 +0200 Subject: Emacs: Configure spotlight on OS X --- tag-emacs/emacs.d/Cask | 1 + tag-emacs/emacs.d/init.org | 10 ++++++++++ 2 files changed, 11 insertions(+) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index ba75ee8a..ead4a523 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 677358e9..008b5b16 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 -- cgit 1.4.1