summaryrefslogtreecommitdiffhomepage
path: root/completion.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-04-06 04:57:53 +0100
committerjao <jao@gnu.org>2021-04-06 04:57:53 +0100
commitf0efc2f9e3fe7eaf4062a56141cc1f4fb908e760 (patch)
tree2fa1e9cee7e45131af94b0adccaeae5b5124942b /completion.org
parent2565433e3a8f6cd6fc3d8b5d0df465d4163d873d (diff)
downloadelibs-f0efc2f9e3fe7eaf4062a56141cc1f4fb908e760.tar.gz
elibs-f0efc2f9e3fe7eaf4062a56141cc1f4fb908e760.tar.bz2
whitespace
Diffstat (limited to 'completion.org')
-rw-r--r--completion.org88
1 files changed, 44 insertions, 44 deletions
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)
- ("<help> 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)
+ ("<help> 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")