diff options
author | rekado <rekado@elephly.net> | 2016-07-15 21:54:17 +0200 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2016-07-15 21:54:17 +0200 |
commit | 3b954635af70497628f181bdf138b1cfbb12fafc (patch) | |
tree | d1da076f9b4c6e5d9d425ecc506db19ac77e1fd7 /lisp | |
parent | 0f65c3d74fc46876c101bed74b650f076c5be45e (diff) |
Move ido initialisation to init.org.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-ido.el | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lisp/init-ido.el b/lisp/init-ido.el deleted file mode 100644 index 5cbf566..0000000 --- a/lisp/init-ido.el +++ /dev/null @@ -1,26 +0,0 @@ -;; ido mode -(require 'ido) -(require 'ido-vertical-mode) -(ido-mode 1) -(ido-vertical-mode 1) -(setq ido-vertical-define-keys 'C-n-and-C-p-only) -(setq ido-ubiquitous-max-items 50000) -;; hit ~ to go straight to the home directory in ido mode -(add-hook 'ido-setup-hook - (lambda () - ;; Go straight home - (define-key ido-file-completion-map - (kbd "~") - (lambda () - (interactive) - (if (looking-back "/") - (insert "~/") - (call-interactively 'self-insert-command)))))) - -;; Use ido everywhere -(require 'ido-ubiquitous) -(ido-ubiquitous-mode 1) -(fset 'yes-or-no-p 'y-or-n-p) - -;; open file at point with C-x C-f -(setq ido-use-filename-at-point 'guess) |