diff options
Diffstat (limited to 'home/dots/.emacs')
-rw-r--r-- | home/dots/.emacs | 28 |
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 |