      (progn
        (load-file "/usr/local/go1.7.1/misc/go-guru.el")
        (add-hook 'go-mode-hook #'go-guru-hl-identifier-mode)))
+
+(autoload 'wgrep-ag-setup "wgrep-ag")
+(add-hook 'ag-mode-hook 'wgrep-ag-setup)
+
+(global-set-key (kbd "M-.") 'dumb-jump-go)

 '(region ((t (:background "#444" :foreground "#ffffff"))))
 '(widget-field ((t (:background "grey25")))))

(and (string-equal "darwin" system-type)
     (progn
       (set-default-font "-*-Source Code Pro-normal-normal-*-28-*-*-*-m-0-iso10646-1" nil nil)
       (menu-bar-mode)))

(fset 'yes-or-no-p 'y-or-n-p)



(mapc (lambda(p)
	(push p package-archives))
      '(("melpa" . "http://melpa.org/packages/")))
;;      '(("melpa-stable" . "http://stable.melpa.org/packages/")))

	;; ("melpa" . "http://melpa.org/packages/")
        ;; ("marmalade" . "http://marmalade-repo.org/packages/")
        ;; ("org" . "http://orgmode.org/elpa/")))

(package-initialize)

