Skip to content

Instantly share code, notes, and snippets.

@doitian
Created April 18, 2009 13:35
Show Gist options
  • Save doitian/97608 to your computer and use it in GitHub Desktop.
Save doitian/97608 to your computer and use it in GitHub Desktop.
merge proel into anything
;;{{{ Anything
(require 'anything-config)
(setq anything-input-idle-delay 0.2)
(setq anything-idle-delay 0.7)
(setq anything-quick-update t)
(setq anything-c-locate-db-file (expand-file-name "~/.localdb"))
(setq anything-c-locate-options `("locate" "-d" ,anything-c-locate-db-file "-i" "-r"))
(setq anything-candidate-separator
"------------------------------------------------------------------------------------")
(grep-compute-defaults)
(eval-and-compile (setq proel-dirs-with-projects (list (expand-file-name "~/CodeBase"))))
(require 'proel)
(setq anything-sources
'(
anything-c-source-ffap-line
anything-c-source-ffap-guesser
anything-c-source-buffers+
proel-anything-projects
proel-anything-current-project-files
anything-c-source-files-in-current-dir+
anything-c-source-recentf
anything-c-source-file-name-history
anything-c-source-bookmarks
anything-c-source-locate
anything-c-source-w3m-bookmarks
anything-c-source-buffer-not-found))
;;; anything-c-source-complex-command-history
;;; anything-c-source-file-name-history
;;; anything-c-source-info-pages
;;; anything-c-source-man-pages
(global-set-key (kbd "M-X") 'anything-at-point)
;;}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment