(global-set-key "\M-x" 'smex)

(require 'smex)
(smex-initialize)

(global-set-key "\M-x" 'smex)
(global-set-key "\M-X" 'smex-major-mode-commands)

Add some more smex goodness
Add some more smex goodness

map7/emacs-config,map7/emacs-config,map7/emacs-config