A few small tweaks
authorAmin Bandali <bandali@gnu.org>
Tue, 11 Aug 2020 02:46:14 +0000 (22:46 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 11 Aug 2020 02:46:14 +0000 (22:46 -0400)
lisp/bandali-ido.el
lisp/bandali-ivy.el
lisp/bandali-utils.el

index 55bc937..3f1769a 100644 (file)
 
 (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
index 438360f..3a67cf1 100644 (file)
         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'.
index 7a2820d..95c2878 100644 (file)
   (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'.