summary refs log tree commit diff stats
path: root/lisp/+lookup.el
diff options
context:
space:
mode:
authorCase Duckworth2022-01-10 08:33:43 -0600
committerCase Duckworth2022-01-10 08:33:43 -0600
commit2918cb39a25558b8896bf212b68e22d1fde02032 (patch)
treee6eef338bddf327236d305ef0310fd793e9f8062 /lisp/+lookup.el
parentAdd markdown (diff)
parentAdd a few packages and .. stuff (diff)
downloademacs-2918cb39a25558b8896bf212b68e22d1fde02032.tar.gz
emacs-2918cb39a25558b8896bf212b68e22d1fde02032.zip
Merge branch 'main' of https://tildegit.org/acdw/emacs
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