summaryrefslogtreecommitdiff
path: root/home/dots/.emacs
diff options
context:
space:
mode:
authorMarc Coquand <marc@coquand.email>2024-11-29 14:17:08 +0200
committerMarc Coquand <marc@coquand.email>2024-11-29 14:17:08 +0200
commitea028fa8339bbdec9256b9572d8f7346da865edf (patch)
treed4cbb31419b9c32aa611b94d0b7f1b2b6ea20f5f /home/dots/.emacs
parent21ff295848a84a62b2b4435d586ccaba7abed1ba (diff)
downloadguix-ea028fa8339bbdec9256b9572d8f7346da865edf.tar.gz
guix-ea028fa8339bbdec9256b9572d8f7346da865edf.tar.bz2
guix-ea028fa8339bbdec9256b9572d8f7346da865edf.zip
.
Diffstat (limited to 'home/dots/.emacs')
-rw-r--r--home/dots/.emacs28
1 files changed, 14 insertions, 14 deletions
diff --git a/home/dots/.emacs b/home/dots/.emacs
index 1afe2be..85edb41 100644
--- a/home/dots/.emacs
+++ b/home/dots/.emacs
@@ -393,6 +393,8 @@
:custom
(imenu-auto-rescan t))
+
+
(defun sudo-shell-command (command)
(interactive "MShell command (root): ")
(with-temp-buffer
@@ -792,22 +794,20 @@
"Introspect"
#'ctrl-lock-off))
-(use-package icomplete
- :bind
- (:map minibuffer-mode-map
- ("C-<return>" . icomplete-fido-exit)
- :repeat-map fido-next-buffer-repeat-map
- ("s" . icomplete-forward-completions)
- ("r" . icomplete-backward-completions))
+(use-package ido
:init
- (fido-mode t)
+ (ido-mode t)
+ :bind
+ (:repeat-map ido-completion-mode-map
+ ("s" . ido-next-match)
+ ("r" . ido-prev-match))
:custom
- (icomplete-prospects-height 1)
- (icomplete-compute-delay 0)
- (icomplete-delay-completions-threshold 0.15)
- (icomplete-separator ", ")
- (icomplete-show-matches-on-no-input 't)
- (icomplete-max-delay-chars 4))
+ (ido-enable-flex-matching nil)
+ (ido-enable-regexp nil)
+ (ido-max-prospects 12)
+ (ido-max-window-height 1)
+ (ido-decorations
+ '("" "" " " " , ..." "[" "]" " [No match]" " [Matched]" " [Not readable]" " [Too big]" " [Confirm]")))
(use-package calendar
:defer t