Created
March 29, 2011 09:29
-
-
Save tmaeda/892080 to your computer and use it in GitHub Desktop.
anything-filelist+ に anything-c-source-mac-spotlight を追加して使ってみることにした
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
(require 'anything-startup) | |
(defun my-anything-filelist+ () | |
"Preconfigured `anything' to open files/buffers/bookmarks instantly. | |
This is a replacement for `anything-for-files'." | |
(interactive) | |
(anything-other-buffer | |
'(anything-c-source-ffap-line | |
anything-c-source-ffap-guesser | |
anything-c-source-buffers+ | |
anything-c-source-recentf | |
anything-c-source-bookmarks | |
anything-c-source-file-cache | |
anything-c-source-filelist | |
anything-c-source-mac-spotlight | |
) | |
"*anything file list*")) | |
(require 'recentf-ext) | |
(setq anything-c-filelist-file-name "/Users/tmaeda/tmp/all.filelist") | |
(setq anything-grep-candidates-fast-directory-regexp "^/tmp") | |
;;;;;;;;;;;;;;;;;;;; | |
;; anything-kill-ring | |
(defun anything-kill-ring () | |
(interactive) | |
(anything 'anything-c-source-kill-ring nil nil nil nil "*anything kill ring*")) | |
(global-set-key (kbd "M-y") 'anything-kill-ring) | |
(global-set-key (kbd "C-;") 'my-anything-filelist+) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment