forked from evangineer/aquamacs-emacs-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathanything-setup.el
39 lines (32 loc) · 1.08 KB
/
anything-setup.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
;; Set up anything. Like Quicksilver or Gnome-Do
;;(add-to-list 'load-path (concat "anything"))
(require 'anything-match-plugin)
;;(require 'anything-show-completion)
(require 'anything-config)
(setq anything-selection-face 'highline-face)
(defun my-anything ()
(interactive)
(anything-other-buffer
'(anything-c-source-buffers+
anything-c-source-ffap-guesser
anything-c-source-file-name-history
anything-c-source-recentf
anything-c-source-files-in-current-dir+
anything-c-source-etags-select
)
" *my-anything*"))
(global-set-key (kbd "C-'") 'my-anything)
(defun my-anything-info ()
(interactive)
(anything-other-buffer
'(anything-c-source-man-pages
anything-c-source-google-suggest)
" *my-anything-info*"))
(global-set-key (kbd "C-c '") 'my-anything-info)
;; Replaces describe-bindings. Do "C-h b" or "C-x C-h"
(require 'descbinds-anything)
(descbinds-anything-install)
(require 'anything-yaetags)
(add-to-list 'anything-sources 'anything-c-source-yaetags-select)
(global-set-key (kbd "M-.") 'anything-yaetags-find-tag)
(provide 'anything-setup)