home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 2c9ba48c67d8f23c461f47579b0a70d272416c45
parent 81259567801dee14a616b0e16261bfbcaed4149b
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 31 Mar 2020 15:38:17 +0200

setup-completion.el: add back ivy-extra-directories

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/setup-completion.el | 25++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/tools/emacs/config/setup-completion.el b/tools/emacs/config/setup-completion.el @@ -1,19 +1,6 @@ ;;; -*- lexical-binding: t; -*- (use-package ivy :delight - :custom - (ivy-count-format "%d/%d ") - (ivy-height-alist '((t lambda (_caller) (/ (window-height) 4)))) - (ivy-use-virtual-buffers t) - (ivy-virtual-abbreviate 'full) ;Show the full virtual file paths - (ivy-wrap nil) - (ivy-re-builders-alist - '((counsel-M-x . ivy--regex-fuzzy) - (t . ivy--regex-plus))) - (ivy-display-style 'fancy) - (ivy-use-selectable-prompt t) - (ivy-fixed-height-minibuffer nil) - (ivy-extra-directories nil) ; Default value: ("../" "./") :bind (("C-x b" . vde/switch-buffer) ("C-x B" . ivy-switch-buffer) ("M-u" . ivy-resume) ;Override the default binding for `upcase-word' @@ -29,6 +16,18 @@ :hook (ivy-occur-mode . hl-line-mode) :config + (setq ivy-count-format "%d/%d " + ivy-height-alist '((t lambda (_caller) (/ (window-height) 4))) + ivy-use-virtual-buffers t + ivy-virtual-abbreviate 'full ;Show the full virtual file paths + ivy-wrap nil + ivy-re-builders-alist '((counsel-M-x . ivy--regex-fuzzy) + (t . ivy--regex-plus)) + ivy-display-style 'fancy + ivy-use-selectable-prompt t + ivy-fixed-height-minibuffer nil + ivy-extra-directories '("../" "./") + ) (ivy-set-occur 'ivy-switch-buffer 'ivy-switch-buffer-occur) (ivy-set-occur 'swiper 'swiper-occur) (ivy-set-occur 'swiper-isearch 'swiper-occur)