 (setq debug-on-error t)
 (add-to-list 'exec-path "/usr/local/bin")
 (global-auto-revert-mode t)
-;;(defalias 'helm-buffer-match-major-mode 'helm-buffers-match-function)
-;;(defalias 'helm-buffer-match-major-mode 'helm-buffers-list--match-fn)
 
 ;; eldoc
 (autoload 'turn-on-eldoc-mode "eldoc" nil t)

;;  :diminish ggtags-mode
  )

(use-package ido
  :ensure t
  :init (progn (ido-mode 1)
               (ido-everywhere 1))

    (setq ido-max-prospects 10)
    (setq ido-use-faces nil)
    (setq ido-file-extensions-order '(".rb" ".el" ".coffee" ".js"))
    (add-to-list 'ido-ignore-files "\\.DS_Store"))
    (add-hook 'ido-setup-hook
            (lambda ()
              ;; Go straight home
              (define-key ido-file-completion-map
                (kbd "~")
                (lambda ()
                  (interactive)
                  (if (looking-back "/")
                      (insert "~/")
                    (call-interactively 'self-insert-command)))))))

(use-package yasnippet
  :ensure t
