summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-08-10 22:46:14 -0400
committerAmin Bandali <bandali@gnu.org>2020-08-10 22:46:14 -0400
commitc9cc242519a73e6f82b3f7bf12a858fcac51fdca (patch)
tree87f4d648a777d8e078daeafce5edf1ca33493740
parentbb7f12c2100e7a61539eaa5a784ff84dfc1d3ad2 (diff)
downloadconfigs-c9cc242519a73e6f82b3f7bf12a858fcac51fdca.tar.gz
configs-c9cc242519a73e6f82b3f7bf12a858fcac51fdca.tar.xz
configs-c9cc242519a73e6f82b3f7bf12a858fcac51fdca.zip
A few small tweaks
Diffstat (limited to '')
-rw-r--r--lisp/bandali-ido.el5
-rw-r--r--lisp/bandali-ivy.el5
-rw-r--r--lisp/bandali-utils.el4
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'.