about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-01-16 23:31:07 -0600
committerCase Duckworth2022-01-16 23:31:07 -0600
commitc42eb9d62d7e10031d90126aaef67819bc93935f (patch)
treef83705b17b36ff2b189c3a849460182f7316cabc
parentMerge branch 'main' of https://tildegit.org/acdw/emacs (diff)
downloademacs-c42eb9d62d7e10031d90126aaef67819bc93935f.tar.gz
emacs-c42eb9d62d7e10031d90126aaef67819bc93935f.zip
Add menu keys for buffer and file
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el index 5a9ee62..a3e3dcd 100644 --- a/init.el +++ b/init.el
@@ -914,6 +914,8 @@
914 ("M-s l" . consult-line) 914 ("M-s l" . consult-line)
915 ("M-s L" . consult-line-multi))) 915 ("M-s L" . consult-line-multi)))
916 (define-key isearch-mode-map (car binding) (cdr binding)))) 916 (define-key isearch-mode-map (car binding) (cdr binding))))
917 (:+menu "b" #'consult-buffer
918 "f" #'find-file)
917 (with-eval-after-load 'org-mode 919 (with-eval-after-load 'org-mode
918 (define-key org-mode-map "M-g o" 'consult-org-heading)) 920 (define-key org-mode-map "M-g o" 'consult-org-heading))
919 (advice-add 'consult-yank-pop :after '+yank@indent) 921 (advice-add 'consult-yank-pop :after '+yank@indent)