 
 (if (package-installed-p 'ace-jump-mode)
     (ng/set-keys "C-j" ace-jump-mode))
+
+(if (package-installed-p 'smex)
+    (ng/set-keys "M-x" smex))
 
 ;; For older versions of emacs
 (unless (fboundp 'use-region-p)

(unless (fboundp 'package-installed-p)
  (defun package-installed-p (p) nil))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Theme

;; make links in text clickable
(if (fboundp 'goto-address-mode)
    (add-hook 'find-file-hook 'goto-address-mode))

;; triple productivity Homer Simpson style :)
(defalias 'yes-or-no-p 'y-or-n-p)
