summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob L. Kreuze2021-06-15 22:01:26 -0400
committerJakob L. Kreuze2021-06-15 22:01:26 -0400
commitcb9350441eccb48054503679310f220246b6dccc (patch)
tree648327420620cd67f9fb91422d1116e6ba36b45f
parentc3c69b0815c17d58b0a9c96580e08e08e80c442f (diff)
Make Ivy more usable
-rw-r--r--lisp/quality-of-life.el16
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

© 2015 - 2026 Jakob L. Kreuze