From 87631bd0d3f07978e5a27345f3a018920ab70dd4 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 15 May 2021 20:41:59 -0400 Subject: [PATCH] experiment with using the default emacs completion system --- .emacs.d/init.el | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 390be17..0ae6f40 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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) -- 2.20.1