diff options
author | Case Duckworth | 2022-01-05 11:23:47 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-05 11:23:47 -0600 |
commit | a59178fc7b15645ee4da04e649ef205b4a160bcb (patch) | |
tree | 5498b5f2a1bd50cad632a5adcd3c024d7843fa7a /lisp | |
parent | Add wrap-region and modify expand-region to match (diff) | |
download | emacs-a59178fc7b15645ee4da04e649ef205b4a160bcb.tar.gz emacs-a59178fc7b15645ee4da04e649ef205b4a160bcb.zip |
Add +lookup
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/+lookup.el | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lisp/+lookup.el b/lisp/+lookup.el new file mode 100644 index 0000000..dfa0180 --- /dev/null +++ b/lisp/+lookup.el | |||
@@ -0,0 +1,17 @@ | |||
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 | (defvar +lookup-map (let ((map (make-sparse-keymap))) | ||
11 | (define-key map "f" #'find-function) | ||
12 | (define-key map "l" #'find-library) | ||
13 | map) | ||
14 | "Keymap for looking up things.") | ||
15 | |||
16 | (provide '+lookup) | ||
17 | ;;; +lookup.el ends here | ||