 
 ;; auto completion
 (require 'auto-complete-config)
+(add-to-list 'ac-dictionary-directories "~/.emacs.d/el-get/auto-complete/dict")
 (ac-config-default)
 (setq ac-dwim nil) ; To get pop-ups with docs even if a word is uniquely completed
 ;; extra modes auto-complete must support
-(dolist (mode '(magit-log-edit-mode log-edit-mode org-mode text-mode haml-mode
-                                    sass-mode yaml-mode csv-mode espresso-mode haskell-mode
-                                    html-mode nxml-mode sh-mode smarty-mode clojure-mode
-                                    lisp-mode textile-mode markdown-mode tuareg-mode
-                                    js2-mode css-mode less-css-mode matlab-mode))
-  (add-to-list 'ac-modes mode))
+;; (dolist (mode '(magit-log-edit-mode log-edit-mode org-mode text-mode haml-mode
+;;                                     sass-mode yaml-mode csv-mode espresso-mode haskell-mode
+;;                                     html-mode nxml-mode sh-mode smarty-mode clojure-mode
+;;                                     lisp-mode textile-mode markdown-mode tuareg-mode
+;;                                     js2-mode css-mode less-css-mode matlab-mode))
+;;   (add-to-list 'ac-modes mode))
 (setq ac-comphist-file "~/.emacs.d/cache/ac-comphist.dat")
                                         ;(setq ac-use-menu-map t)
 ;; disabling Yasnippet completion

  "Face used for marking error lines."
  :group 'enh-ruby)

;; misc stuff
(require 'yari) ; ri documentation tool
(require 'ruby-block) ; show what block an end belongs to

;; deltete selected
(delete-selection-mode t)

;; don't hard-wrap text, but use nice virtual wrapping
(setq-default fill-column 80)
(global-visual-line-mode 1)
