From 970aa92ead84ce3bc7039a098c0a8f84fb0deb58 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 9 May 2019 23:59:40 -0400 Subject: emacs: use ivy’s virtual buffers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .emacs.d/init.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.emacs.d/init.org') diff --git a/.emacs.d/init.org b/.emacs.d/init.org index 5d877f8..06b0ce0 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -1084,7 +1084,11 @@ There's no way I could top that, so I won't attempt to. ([S-down] . ivy-next-history-element) ("DEL" . ivy-backward-delete-char)) :config - (setq ivy-wrap t) + (setq ivy-wrap t + ivy-height 14 + ivy-use-virtual-buffers t + ivy-virtual-abbreviate 'abbreviate + ivy-count-format "%d/%d ") (ivy-mode 1) ;; :custom-face ;; (ivy-minibuffer-match-face-2 ((t (:background "#e99ce8" :weight semi-bold)))) @@ -1110,9 +1114,9 @@ There's no way I could top that, so I won't attempt to. :after ivy :bind (([remap execute-extended-command] . counsel-M-x) ([remap find-file] . counsel-find-file) - ("s-r" . counsel-recentf) ("C-c x" . counsel-M-x) ("C-c f ." . counsel-find-file) + ("C-c f l" . counsel-find-library) :map minibuffer-local-map ("C-r" . counsel-minibuffer-history)) :config -- cgit v1.2.3-83-g751a