Tidy keymap names in consult configuration

This commit is contained in:
Gerard Vermeulen 2022-04-10 16:17:17 +02:00
parent e4b45c7e1b
commit 910574cfba

View File

@ -864,9 +864,9 @@ Listing [[lst:configure-consult]] configures =consult=.
| command | keys | key map |
|-------------------------------+---------------------+------------------------|
| =consult-apropos= | {{{kbd(<help> a)}}} | =global-map= |
| =consult-bookmark= | {{{kbd(C-x r b)}}} | =ctl-x-keymap= |
| =consult-buffer-other-frame= | {{{kbd(C-x 5 b)}}} | =ctl-x-keymap= |
| =consult-buffer-other-window= | {{{kbd(C-x 4 b)}}} | =ctl-x-keymap= |
| =consult-bookmark= | {{{kbd(C-x r b)}}} | =ctl-x-r-keymap= |
| =consult-buffer-other-frame= | {{{kbd(C-x 5 b)}}} | =ctl-x-5-keymap= |
| =consult-buffer-other-window= | {{{kbd(C-x 4 b)}}} | =ctl-x-4-keymap= |
| =consult-buffer= | {{{kbd(C-x b)}}} | =ctl-x-keymap= |
| =consult-compile-error= | {{{kbd(M-g e)}}} | =goto-map= |
| =consult-complex-command= | {{{kbd(C-x M-:)}}} | =ctl-x-keymap= |
@ -884,7 +884,7 @@ Listing [[lst:configure-consult]] configures =consult=.
| =consult-mode-command= | {{{kbd(C-c m)}}} | =global-map= |
| =consult-multi-occur= | {{{kbd(M-s m)}}} | =search-map= |
| =consult-outline= | {{{kbd(M-g o)}}} | =goto-map= |
| =consult-register= | {{{kbd(C-x r x)}}} | =ctl-x-keymap= |
| =consult-register= | {{{kbd(C-x r x)}}} | =ctl-x-r-keymap= |
| =consult-yank-pop= | {{{kbd(M-y)}}} | =global-map= |
|-------------------------------+---------------------+------------------------|
| =deadgrep= | {{{kbd(M-s d)}}} | =search-map= |
@ -917,10 +917,10 @@ Listing [[lst:configure-consult]] configures =consult=.
;; C-x bindings (ctl-x-map)
(define-key ctl-x-map (kbd "M-:") #'consult-complex-command)
(define-key ctl-x-map (kbd "b") #'consult-buffer)
(define-key ctl-x-map (kbd "4 b") #'consult-buffer-other-window)
(define-key ctl-x-map (kbd "5 b") #'consult-buffer-other-frame)
(define-key ctl-x-map (kbd "r x") #'consult-register)
(define-key ctl-x-map (kbd "r b") #'consult-bookmark)
(define-key ctl-x-4-map (kbd "b") #'consult-buffer-other-window)
(define-key ctl-x-5-map (kbd "b") #'consult-buffer-other-frame)
(define-key ctl-x-r-map (kbd "x") #'consult-register)
(define-key ctl-x-r-map (kbd "b") #'consult-bookmark)
;; M-g bindings (goto-map)
(define-key goto-map (kbd "g") #'consult-goto-line)
(define-key goto-map (kbd "M-g") #'consult-goto-line)