diff options
| -rw-r--r-- | emacs/.emacs.d/init.org | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index c8ac3df..a098684 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -240,7 +240,16 @@ It bugs me to have whitespace left over. * Consult #+begin_src emacs-lisp - (use-package consult) + (use-package consult + :bind (("M-g M" . consult-global-mark) + ("M-g m" . consult-mark) + ([remap bookmark-jump] . consult-bookmark) + ([remap goto-line] . consult-goto-line) + ([remap imenu] . consult-imenu) + ([remap project-switch-to-buffer] . consult-project-buffer) + ([remap projectile-switch-to-buffer] . consult-project-buffer) + ([remap switch-to-buffer] . consult-buffer) + ([remap yank-pop] . consult-yank-pop))) #+end_src * Diff-hl @@ -666,20 +675,9 @@ Highlight diffs in the fringe. (marginalia-mode) - ;;; Consult - (global-set-key (kbd "C-c w d") '("Delete a window" . ace-delete-window)) (global-set-key (kbd "C-c w k") '("Keep a single window" . ace-delete-other-windows)) (global-set-key (kbd "C-c w o") '("Select other window" . oni-core-ace-window-select-other-window)) - (global-set-key (kbd "M-g M") '("Jump to a mark anywhere" . consult-global-mark)) - (global-set-key (kbd "M-g m") '("Jump to a mark" . consult-mark)) - (global-set-key [remap bookmark-jump] 'consult-bookmark) - (global-set-key [remap goto-line] 'consult-goto-line) - (global-set-key [remap imenu] 'consult-imenu) - (global-set-key [remap project-switch-to-buffer] 'consult-project-buffer) - (global-set-key [remap projectile-switch-to-buffer] 'consult-project-buffer) - (global-set-key [remap switch-to-buffer] 'consult-buffer) - (global-set-key [remap yank-pop] 'consult-yank-pop) (global-set-key (kbd "C-x 8 l") "λ") |
