From f0efc2f9e3fe7eaf4062a56141cc1f4fb908e760 Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 6 Apr 2021 04:57:53 +0100 Subject: whitespace --- completion.org | 88 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) (limited to 'completion.org') diff --git a/completion.org b/completion.org index b367d96..7e6f6d0 100644 --- a/completion.org +++ b/completion.org @@ -77,7 +77,7 @@ #+end_src -* completion styles +* orderless #+begin_src emacs-lisp (use-package orderless :ensure t @@ -118,52 +118,52 @@ (marginalia-mode 1) #+end_src * consult - #+begin_src emacs-lisp - (use-package consult - :ensure t - :bind (("C-x M-:" . consult-complex-command) - ("C-x b" . consult-buffer) - ;; ("C-x 4 b" . consult-buffer-other-window) - ;; ("C-x 5 b" . consult-buffer-other-frame) - ("C-c b" . project-find-file) - ("C-c B" . bookmark-set) - ("C-c h" . consult-history) - ("C-c i" . consult-imenu) - ("C-c I" . consult-project-imenu) - ("C-c k" . consult-ripgrep) - ("C-c K" . consult-git-grep) - ("C-c l" . consult-locate) - ("C-c m" . consult-mode-command) - ("C-c s" . consult-line) - ("C-x r x" . consult-register) - ("C-x r b" . consult-bookmark) - ("M-g b" . consult-bookmark) - ("M-g m" . consult-mark) - ("M-g e" . consult-error) - ("M-s m" . consult-multi-occur) - ("M-s o" . consult-outline) - ("M-y" . consult-yank-pop) - ("C-s" . isearch-forward) - ("C-S-s" . consult-line) - (" a" . consult-apropos)) - - :custom ((consult-locate-command "locate --ignore-case --regexp ARG OPTS") - (consult-preview-key (kbd "`")) - (consult-config '((consult-mark :preview-key any)))) - - :init - (fset 'multi-occur #'consult-multi-occur) +*** package + #+begin_src emacs-lisp + (use-package consult + :ensure t + :bind (("C-x M-:" . consult-complex-command) + ("C-x b" . consult-buffer) + ;; ("C-x 4 b" . consult-buffer-other-window) + ;; ("C-x 5 b" . consult-buffer-other-frame) + ("C-c b" . project-find-file) + ("C-c B" . bookmark-set) + ("C-c h" . consult-history) + ("C-c i" . consult-imenu) + ("C-c I" . consult-project-imenu) + ("C-c k" . consult-ripgrep) + ("C-c K" . consult-git-grep) + ("C-c l" . consult-locate) + ("C-c m" . consult-mode-command) + ("C-c s" . consult-line) + ("C-x r x" . consult-register) + ("C-x r b" . consult-bookmark) + ("M-g b" . consult-bookmark) + ("M-g m" . consult-mark) + ("M-g e" . consult-error) + ("M-s m" . consult-multi-occur) + ("M-s o" . consult-outline) + ("M-y" . consult-yank-pop) + ("C-s" . isearch-forward) + ("C-S-s" . consult-line) + (" a" . consult-apropos)) + + :custom ((consult-locate-command "locate --ignore-case --regexp ARG OPTS") + (consult-preview-key (kbd "`")) + (consult-config '((consult-mark :preview-key any)))) + + :init + (fset 'multi-occur #'consult-multi-occur) - :config - (defun jao-consult-project-root () - (expand-file-name (or (jao-compilation-root) (vc-root-dir) ""))) + :config + (defun jao-consult-project-root () + (expand-file-name (or (jao-compilation-root) (vc-root-dir) ""))) - (setq consult-project-root-function #'jao-consult-project-root) + (setq consult-project-root-function #'jao-consult-project-root) - (define-key consult-narrow-map (vconcat consult-narrow-key "?") - #'consult-narrow-help)) - #+end_src -* consultors + (define-key consult-narrow-map (vconcat consult-narrow-key "?") + #'consult-narrow-help)) + #+end_src *** notmuch #+begin_src emacs-lisp (jao-load-path "consult-notmuch") -- cgit v1.2.3