summaryrefslogtreecommitdiff
path: root/lisp/init-ido.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-01-23 23:23:05 -0500
committerKyle Meyer <kyle@kyleam.com>2015-01-27 01:01:05 -0500
commitd9cae60fa5048abd3528f96a285109329639fda6 (patch)
treef4e25372dd4e8c466c82a09cd11c1dd5cb882487 /lisp/init-ido.el
parent06d5146080137650645ad0750e23c8a238754ea6 (diff)
downloademacs.d-d9cae60fa5048abd3528f96a285109329639fda6.tar.gz
Improve organization and consistency of files
- Add pages and more headings for large files. - Try to use consistent order for file (or page) structure. * Loading * Settings * Hooks * Any mode activation or function calls * My functions * Key bindings
Diffstat (limited to 'lisp/init-ido.el')
-rw-r--r--lisp/init-ido.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/init-ido.el b/lisp/init-ido.el
index ad597e5..9332081 100644
--- a/lisp/init-ido.el
+++ b/lisp/init-ido.el
@@ -10,9 +10,8 @@
ido-save-directory-list-file "~/.emacs.d/cache/ido.hist"
ido-max-directory-size 100000)
-(add-hook 'dired-mode-hook
- (lambda ()
- (set (make-local-variable 'ido-use-filename-at-point) nil)))
+;; Disable ido faces to see flx highlights.
+(setq ido-use-faces nil)
(setq ido-file-extensions-order
'(".org" ".txt" ".md" ".rst" ".tex" ".py" ".el" ".hs"))
@@ -21,14 +20,15 @@
(append '(".out" ".log" ".fls" ".fdb" ".fdb_latexmk")
completion-ignored-extensions))
-;; Disable ido faces to see flx highlights.
-(setq ido-use-faces nil)
+(add-hook 'dired-mode-hook
+ (lambda ()
+ (set (make-local-variable 'ido-use-filename-at-point) nil)))
(ido-mode 1)
-(ido-vertical-mode 1)
-(ido-everywhere 1)
-(flx-ido-mode 1)
-(ido-ubiquitous-mode 1)
+(ido-vertical-mode)
+(ido-everywhere)
+(flx-ido-mode)
+(ido-ubiquitous-mode)
(ido-at-point-mode)
(key-chord-define-global ",b" 'ido-switch-buffer)