experiment with using the default emacs completion system
[~bandali/configs] / .emacs.d / init.el
index 390be17..0ae6f40 100644 (file)
@@ -222,6 +222,7 @@ This sets each user option VAR's value to the corresponding VALUE.
 (csetq
  ;; completion case sensitivity
  completion-ignore-case t
+ read-buffer-completion-ignore-case t
  ;; minibuffer
  enable-recursive-minibuffers t
  resize-mini-windows t
@@ -286,6 +287,9 @@ This sets each user option VAR's value to the corresponding VALUE.
 ;;   ;; (keyboard-translate ?\] ?\])
 ;; )
 
+;; minibuffer
+(csetq read-file-name-completion-ignore-case t)
+
 ;; startup
 ;; don't need to see the startup echo area message
 (advice-add #'display-startup-echo-area-message :override #'ignore)
@@ -600,16 +604,16 @@ Make N (default: 1) copies of the current line or region."
    (completing-read "Find recent file: " recentf-list)))
   (global-set-key (kbd "C-c f r") #'b/recentf-open))
 
-(fido-mode 1)
-(defun b/icomplete--fido-mode-setup ()
-  "Customizations to `fido-mode''s minibuffer."
-  (when (and icomplete-mode (icomplete-simple-completing-p))
-    (setq-local
-     ;; icomplete-compute-delay 0.1
-     ;; icomplete-hide-common-prefix t
-     icomplete-separator " · "
-     completion-styles '(basic substring partial-completion flex))))
-(add-hook 'minibuffer-setup-hook #'b/icomplete--fido-mode-setup 1)
+;; (fido-mode 1)
+;; (defun b/icomplete--fido-mode-setup ()
+;;   "Customizations to `fido-mode''s minibuffer."
+;;   (when (and icomplete-mode (icomplete-simple-completing-p))
+;;     (setq-local
+;;      ;; icomplete-compute-delay 0.1
+;;      ;; icomplete-hide-common-prefix t
+;;      icomplete-separator " · "
+;;      completion-styles '(basic substring partial-completion flex))))
+;; (add-hook 'minibuffer-setup-hook #'b/icomplete--fido-mode-setup 1)
 
 (require 'bandali-eshell)