From 1e27bf2dbba6d1d1649cec35cae72fccdfb69432 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Fri, 23 Feb 2018 09:55:00 +0100 Subject: [PATCH] Emacs: Ivy/Swiper improvements --- emacs/emacs.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/emacs/emacs.el b/emacs/emacs.el index efdc650..a04018c 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -540,10 +540,10 @@ :diminish (ivy-mode) :config (ivy-mode t) - (setq ivy-use-virtual-buffers t) - (setq ivy-count-format "(%d/%d) ") - (setq ivy-display-style 'fancy) - (setq ivy-extra-directories nil) + (setq ivy-use-virtual-buffers t + ivy-count-format "(%d/%d) " + ivy-display-style 'fancy + ivy-extra-directories nil) :bind (("C-c C-r" . ivy-resume))) @@ -557,7 +557,9 @@ ivy-extra-directories nil) :bind (("C-s" . swiper) - ("C-r" . swiper))) + ("C-r" . swiper) + :map read-expression-map + ("C-r" . counsel-expression-history))) ;; counsel-projectile ;; Ivy UI for Projectile