dot/emacs: Turn on the fancy Ido toys.
[profile] / dot / emacs
index bb9808f..2ab6381 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 (trap
   (windmove-default-keybindings))
 (setq windmove-wrap-around t)
-(trap (ido-mode))
+(trap (require 'ido) (ido-mode 1)
+      (require 'ido-ubiquitous) (ido-ubiquitous-mode 1)
+      (setq magit-completing-read-function 'magit-ido-completing-read)
+      (require 'smex) (smex-initialize) (global-set-key [?\M-x] 'smex))
 (progn
+  (global-set-key [?\C-c ?\M-x] 'execute-extended-command)
   (global-set-key [?\e ?\e] 'mdw-wrong)
   (global-set-key [?\e ?\C-\] ?\C-\]] 'keyboard-escape-quit)
   (global-set-key [?\C-c ?w left] 'windmove-left)