 
 (use-package ffap
   :config (ffap-bindings))
-
-(defun aim/run-go-buffer ()
-  (interactive)
-  (shell-command (format "go run %s" (buffer-file-name (current-buffer)))))
 
 (use-package git-gutter
   :ensure t

;; The platinum searcher
(use-package pt
  :ensure pt)

(defun isearch-face-settings ()
  (interactive)
  (set-face-foreground 'isearch "black")
  (set-face-background 'isearch "yellow")
  (set-face-foreground 'lazy-highlight "black")
  (set-face-background 'lazy-highlight "orange")
  (custom-set-faces '(isearch-fail ((((class color)) (:background "red"))))))

(eval-after-load "isearch"
  `(isearch-face-settings))

(defun aim/occur-go-public-functions ()
  (interactive)
  (occur "^func [A-Z]"))

(use-package cc-mode
  :mode (("\\.h\\'"    . c-mode)

       ;; Make them be the same color as the email's body text.
       (set-face-foreground 'message-mml (face-attribute 'default :foreground))))

(add-to-list 'exec-path "/usr/local/go1.4.3/bin")

(add-to-list 'default-frame-alist '(tty-color-mode  . -1))

(defun uniquify-all-lines-region (start end)
  "Find duplicate lines in region START to END keeping first occurrence."
