blob: 2639888cb13c34e7f9adc28638d50d8afc8361f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
(use-package ido
:demand
:bind
(:map ido-common-completion-map
([escape] . minibuffer-keyboard-quit)
("DEL" . b/ido-backspace))
:config
(require 'delsel)
(defun b/ido-backspace ()
"Forward to `backward-delete-char'. On error (read-only), quit."
(interactive)
(condition-case nil
(backward-delete-char 1)
(error
(minibuffer-keyboard-quit))))
(ido-mode 1)
(ido-everywhere 1)
:custom
(ido-enable-flex-matching t)
;; (ido-enable-regexp t)
;; (ido-enable-prefix t)
(ido-max-window-height 10)
(ido-use-virtual-buffers t))
(use-package ido-vertical-mode
:defer 0.3
:config
(ido-vertical-mode 1)
:custom
(ido-vertical-define-keys 'C-n-C-p-up-and-down)
(ido-vertical-show-count t))
(use-package ido-completing-read+
:defer 0.3
:after ido
:config
(ido-ubiquitous-mode 1))
(use-package crm-custom
:defer 0.3
:config
(crm-custom-mode 1))
(use-package icomplete
:defer 0.3
:config
(icomplete-mode 1))
(provide 'bandali-ido)
|