diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-12-06 07:30:56 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-12-06 07:30:56 +0100 |
| commit | ae094a665438a5d65b52b3d2a538c17998770b78 (patch) | |
| tree | 91e779ff16878469378859b10001154c827982ff | |
| parent | 9a7c44fe8b7ace73fa8ebf6b5805474f0ca07d01 (diff) | |
cape-prefix-map: Bind TAB and M-TAB
| -rw-r--r-- | README.org | 2 | ||||
| -rw-r--r-- | cape.el | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -86,7 +86,7 @@ information. (use-package cape ;; Bind prefix keymap providing all Cape commands under a mnemonic key. ;; Press C-c p ? to for help. - :bind ("C-c p" . cape-prefix-map) ;; Alternative keys: M-p, M-+, ... + :bind ("C-c p" . cape-prefix-map) ;; Alternative key: M-<tab>, M-p, M-+ ;; Alternatively bind Cape commands individually. ;; :bind (("C-c p d" . cape-dabbrev) ;; ("C-c p h" . cape-history) @@ -1276,6 +1276,8 @@ The Capf calls `%s' with CAPF and ARGS as arguments." name wrapper)))) (defvar-keymap cape-prefix-map :doc "Keymap used as completion entry point. The keymap should be installed globally under a prefix." + "TAB" #'completion-at-point + "M-TAB" #'completion-at-point "p" #'completion-at-point "t" #'complete-tag "d" #'cape-dabbrev |
