From c9cc242519a73e6f82b3f7bf12a858fcac51fdca Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 10 Aug 2020 22:46:14 -0400 Subject: A few small tweaks --- lisp/bandali-ido.el | 5 +++-- lisp/bandali-ivy.el | 5 ++++- lisp/bandali-utils.el | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lisp/bandali-ido.el b/lisp/bandali-ido.el index 55bc937..3f1769a 100644 --- a/lisp/bandali-ido.el +++ b/lisp/bandali-ido.el @@ -64,13 +64,14 @@ (use-package crm-custom :defer 0.3 + :after crm :config (crm-custom-mode 1)) -(use-package icomplete +(use-package ido-at-point :defer 0.3 :config - (icomplete-mode 1)) + (ido-at-point-mode 1)) (provide 'bandali-ido) ;;; bandali-ido.el ends here diff --git a/lisp/bandali-ivy.el b/lisp/bandali-ivy.el index 438360f..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'. diff --git a/lisp/bandali-utils.el b/lisp/bandali-utils.el index 7a2820d..95c2878 100644 --- a/lisp/bandali-utils.el +++ b/lisp/bandali-utils.el @@ -62,11 +62,11 @@ (interactive) (insert (concat - "\n\n" + "\n" (make-string (floor (/ (- fill-column (length b/asterism)) 2)) ?\s) b/asterism - "\n\n"))) + "\n"))) (defun b/no-mouse-autoselect-window () "Conveniently disable `focus-follows-mouse'. -- cgit v1.2.3-60-g2f50