1 ;;; bandali-ido.el --- bandali's Ido setup -*- lexical-binding: t; -*-
3 ;; Copyright (C) 2018-2020 Amin Bandali
5 ;; Author: Amin Bandali <bandali@gnu.org>
6 ;; Keywords: convenience, matching
8 ;; This program is free software; you can redistribute it and/or modify
9 ;; it under the terms of the GNU General Public License as published by
10 ;; the Free Software Foundation, either version 3 of the License, or
11 ;; (at your option) any later version.
13 ;; This program is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;; GNU General Public License for more details.
18 ;; You should have received a copy of the GNU General Public License
19 ;; along with this program. If not, see <https://www.gnu.org/licenses/>.
23 ;; My (currently unused) Ido setup.
30 (:map ido-common-completion-map
31 ([escape] . minibuffer-keyboard-quit)
32 ("DEL" . b/ido-backspace))
35 (defun b/ido-backspace ()
36 "Forward to `backward-delete-char'. On error (read-only), quit."
39 (backward-delete-char 1)
41 (minibuffer-keyboard-quit))))
45 (ido-enable-flex-matching t)
46 ;; (ido-enable-regexp t)
47 ;; (ido-enable-prefix t)
48 (ido-max-window-height 10)
49 (ido-use-virtual-buffers t))
51 (use-package ido-vertical-mode
56 (ido-vertical-define-keys 'C-n-C-p-up-and-down)
57 (ido-vertical-show-count t))
59 (use-package ido-completing-read+
63 (ido-ubiquitous-mode 1))
65 (use-package crm-custom
70 (use-package icomplete
75 (provide 'bandali-ido)
76 ;;; bandali-ido.el ends here