X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/4c05c4186ed84ea42e9c1646226e81785e27e499..8f815b53023d2c76078ddab24bdd43dc2c02a693:/lisp/bandali-ivy.el diff --git a/lisp/bandali-ivy.el b/lisp/bandali-ivy.el index 4a88a13..3a67cf1 100644 --- a/lisp/bandali-ivy.el +++ b/lisp/bandali-ivy.el @@ -39,7 +39,10 @@ ivy-virtual-abbreviate 'abbreviate ivy-count-format "%d/%d ") - (defvar b/ivy-ignore-buffer-modes '(magit-mode erc-mode dired-mode)) + (defvar b/ivy-ignore-buffer-modes + '(;; dired-mode + ;; magit-mode + erc-mode)) (defun b/ivy-ignore-buffer-p (str) "Return non-nil if str names a buffer with a major mode derived from one of `b/ivy-ignore-buffer-modes'. @@ -51,16 +54,7 @@ This function is intended for use with `ivy-ignore-buffers'." (apply #'provided-mode-derived-p mode b/ivy-ignore-buffer-modes)))) (add-to-list 'ivy-ignore-buffers 'b/ivy-ignore-buffer-p) - (ivy-mode 1) - :custom-face - (ivy-minibuffer-match-face-1 ((t (:background "#eeeeee")))) - (ivy-minibuffer-match-face-2 ((t (:background "#e7e7e7" :weight bold)))) - (ivy-minibuffer-match-face-3 ((t (:background "light goldenrod" :weight semi-bold)))) - (ivy-minibuffer-match-face-4 ((t (:background "misty rose" :weight semi-bold)))) - (ivy-current-match ((((class color) (background light)) - :background "#d7d7d7" :foreground "black") - (((class color) (background dark)) - :background "#65a7e2" :foreground "black")))) + (ivy-mode 1)) (use-package swiper :demand