 ;; (define-key ac-mode-map (kbd "C-<SPC>") 'auto-complete)
 
 ;; yasnippet: https://github.com/capitaomorte/yasnippet
-(add-to-list 'load-path "~/.emacs.d/yasnippet")
 (require 'yasnippet)
-(setq yas/snippet-dirs "~/.emacs.d/yasnippet/snippets")
+(setq yas/snippet-dirs "~/.emacs.d/modes/yasnippet/snippets")
 (yas/global-mode 1)
 ;Don't map TAB to yasnippet
 ;In fact, set it to something we'll never use because
 ;we'll only ever trigger it indirectly.
 ;(setq yas/trigger-key (kbd "C-c <kp-multiply>"))
-;(yas/initialize)
-;(yas/load-directory "~/.emacs.d/yasnippet-0.7.0/snippets")
 
 
 ;; w3m browser

(setq browse-url-browser-function 'w3m-browse-url)

;; ido
(add-to-list 'load-path "~/.emacs.d/ido-ubiquitous")
(require 'ido)
(ido-mode t)
(setq ido-enable-flex-matching t)
(ido-ubiquitous-mode t)






;; smex
(require 'smex)
(smex-initialize)
(global-set-key (kbd "M-x") 'smex)
(global-set-key (kbd "M-X") 'smex-major-mode-commands)
