summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2021-05-15 20:41:59 -0400
committerAmin Bandali <bandali@gnu.org>2021-05-15 20:41:59 -0400
commit87631bd0d3f07978e5a27345f3a018920ab70dd4 (patch)
tree4942adfe3d526e4baaa073e6b8d58ceae77dabf1
parenta0e241c4c77ca92e5b3757e6422267a4e86e476e (diff)
downloadconfigs-87631bd0d3f07978e5a27345f3a018920ab70dd4.tar.gz
configs-87631bd0d3f07978e5a27345f3a018920ab70dd4.tar.xz
configs-87631bd0d3f07978e5a27345f3a018920ab70dd4.zip
experiment with using the default emacs completion system
-rw-r--r--.emacs.d/init.el24
1 files 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)