about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-02 10:02:57 -0600
committerCase Duckworth2021-01-02 10:02:57 -0600
commit4b5098dfff3d4d2fba09e56320f30bfd4d83c369 (patch)
tree3755f7138d9acf31fc6fbf40507fd76baae98368
parentUnderline at the descent line (diff)
downloademacs-4b5098dfff3d4d2fba09e56320f30bfd4d83c369.tar.gz
emacs-4b5098dfff3d4d2fba09e56320f30bfd4d83c369.zip
Define consult keys after loading consult
-rw-r--r--config.org30
1 files changed, 15 insertions, 15 deletions
diff --git a/config.org b/config.org index 8360cd0..edc1cd6 100644 --- a/config.org +++ b/config.org
@@ -526,25 +526,25 @@ Anyway, I should probably be able to figure out how to properly change the theme
526 :repo "minad/consult")) 526 :repo "minad/consult"))
527 (require 'consult-selectrum) 527 (require 'consult-selectrum)
528 528
529 (define-key ctl-x-map "b" #'consult-buffer) 529 (with-eval-after-load 'consult
530 (define-key ctl-x-map (kbd "C-r") #'consult-buffer) 530 (define-key ctl-x-map "b" #'consult-buffer)
531 (define-key ctl-x-map "4b" #'consult-buffer-other-window) 531 (define-key ctl-x-map (kbd "C-r") #'consult-buffer)
532 (define-key ctl-x-map "5b" #'consult-buffer-other-frame) 532 (define-key ctl-x-map "4b" #'consult-buffer-other-window)
533 (define-key ctl-x-map "5b" #'consult-buffer-other-frame)
533 534
534 (define-key goto-map "o" #'consult-outline) 535 (define-key goto-map "o" #'consult-outline)
535 (define-key goto-map "g" #'consult-line) 536 (define-key goto-map "g" #'consult-line)
536 (define-key goto-map (kbd "M-g") #'consult-line) 537 (define-key goto-map (kbd "M-g") #'consult-line)
537 (define-key goto-map "l" #'consult-line) 538 (define-key goto-map "l" #'consult-line)
538 (define-key goto-map "m" #'consult-mark) 539 (define-key goto-map "m" #'consult-mark)
539 (define-key goto-map "k" #'consult-global-mark) 540 (define-key goto-map "i" #'consult-imenu)
540 (define-key goto-map "i" #'consult-imenu) 541 (define-key goto-map "e" #'consult-error)
541 (define-key goto-map "e" #'consult-error)
542 542
543 (global-set-key (kbd "M-y") #'consult-yank-pop) 543 (global-set-key (kbd "M-y") #'consult-yank-pop)
544 544
545 (define-key help-map "a" #'consult-apropos) 545 (define-key help-map "a" #'consult-apropos)
546 546
547 (fset 'multi-occur #'consult-multi-occur) 547 (fset 'multi-occur #'consult-multi-occur))
548 #+END_SRC 548 #+END_SRC
549 549
550**** Marginalia 550**** Marginalia