            ("s" . scratch)
            ("z" . byte-recompile-directory))
 
-;; (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))))))
-
 (defun server-shutdown ()
   "Save buffers, Quit, and Shutdown (kill) server"
   (interactive)

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