summary refs log tree commit diff stats
path: root/lisp/+lookup.el
diff options
context:
space:
mode:
authorCase Duckworth2022-01-09 20:52:07 -0600
committerCase Duckworth2022-01-09 20:52:07 -0600
commitb7295426c95bf968288bb6ead2db416a71ec4d3e (patch)
tree41f8b5c7c4e7f8f42650ed44b8e9159f6a8984af /lisp/+lookup.el
parentGah, so many changes (diff)
downloademacs-b7295426c95bf968288bb6ead2db416a71ec4d3e.tar.gz
emacs-b7295426c95bf968288bb6ead2db416a71ec4d3e.zip
Weekend, babee
Diffstat (limited to 'lisp/+lookup.el')
-rw-r--r--lisp/+lookup.el26
1 files changed, 0 insertions, 26 deletions
diff --git a/lisp/+lookup.el b/lisp/+lookup.el deleted file mode 100644 index 755f84e..0000000 --- a/lisp/+lookup.el +++ /dev/null
@@ -1,26 +0,0 @@
1;;; +lookup.el -*- lexical-binding: t; -*-
2
3;;; Commentary:
4
5;; I look up a lot of things in Emacs. Let's bind them all to an easy-to-use
6;; keymap.
7
8;;; Code:
9
10(require '+key)
11
12(define-minor-mode +lookup-mode
13 "A mode for easily looking things up."
14 :lighter " l^"
15 :keymap (let ((map (make-sparse-keymap)))
16 (define-key map "f" #'find-function)
17 (define-key map "l" #'find-library)
18 (define-key map "v" #'find-variable)
19 map)
20 (define-key +key-mode-map (kbd "C-c l") (when +lookup-mode
21 +lookup-mode-map)))
22
23(defvaralias '+lookup-map '+lookup-mode-map)
24
25(provide '+lookup)
26;;; +lookup.el ends here