diff options
| author | Jakob L. Kreuze | 2021-06-15 22:01:26 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2021-06-15 22:01:26 -0400 |
| commit | cb9350441eccb48054503679310f220246b6dccc (patch) | |
| tree | 648327420620cd67f9fb91422d1116e6ba36b45f /lisp | |
| parent | c3c69b0815c17d58b0a9c96580e08e08e80c442f (diff) | |
Make Ivy more usable
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/quality-of-life.el | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/lisp/quality-of-life.el b/lisp/quality-of-life.el index 51aa9b6..bd4d66a 100644 --- a/lisp/quality-of-life.el +++ b/lisp/quality-of-life.el @@ -26,7 +26,12 @@ ;; Enable Ivy globally. :config - (ivy-mode 1)) + (ivy-mode 1) + + ;; If I'm typing a file name with capitalized letters, I may be holding shift + ;; when I press space. This is a pain in the ass, and I don't use the feature + ;; anyway, so I unbind it. + (bind-key "S-SPC" nil ivy-minibuffer-map)) ;; `counsel' is a nice Ivy-based frontend for a couple of interactive commands. @@ -44,6 +49,15 @@ ;; ("C-r" . swiper) ;; ("C-s" . swiper)) +;; Use a better sorting algorithm. + +(use-package ivy-prescient + :config + (ivy-prescient-mode) + (prescient-persist-mode) + :init + (setq prescient-save-file "~/.cache/prescient-save.el")) + ;;; ;;; Imenu |