diff options
author | rekado <rekado@elephly.net> | 2014-11-10 15:38:14 +0100 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2014-11-10 15:38:14 +0100 |
commit | 8b95390c10c6f4dd583f39dc459afdd4f39fb0d4 (patch) | |
tree | 69d044ffced33d3e2165a48aaa46bb90823b180e /init.el | |
parent | 0dcf83401c712aed0a305a7c02f57388d116354d (diff) |
split off ido initialisation
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 25 |
1 files changed, 1 insertions, 24 deletions
@@ -87,29 +87,6 @@ (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode)) -;; ido mode -(require 'ido) -(require 'ido-vertical-mode) -(ido-mode 1) -(ido-vertical-mode 1) -(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) - ;; fullscreen mode with F11 (fullscreen-mode 1) (global-set-key (kbd "<f11>") 'fullscreen-mode-fullscreen-toggle) @@ -217,7 +194,7 @@ (global-set-key (kbd "C-c d") 'hungry-delete-forward) (load "email.el") - +(load "init-ido.el") (load "init-god-mode.el") (load "init-magit.el") (load "init-eshell.el") |