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

;; (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")
(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

(add-to-list 'load-path "~/.emacs.d")
;Add all modes to the load path
(progn (cd "~/.emacs.d/modes")
       (normal-top-level-add-subdirs-to-load-path))

;; Color theme
;(load-theme 'solarized-dark t)
;(require 'zenburn-theme)
(load-theme 'deeper-blue)


;; auto-complete: https://github.com/m2ym/auto-complete
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/modes/auto-complete/dict")
(ac-config-default)

;; (require 'auto-complete-config)
;; (setq ac-dwim t)
;; (setq ac-delay 0)
;; (setq ac-quick-help-delay 0)
