 ;; 				     (set-variable 'py-indent-offset 4)
 ;; 				     (set-variable 'indent-tabs-mode t))))
 
-(use-package python-mode
-      :init (progn
-	      (set-variable 'py-indent-offset 4)
-	      (set-variable 'indent-tabs-mode nil)))
-
-(use-package company
-  :ensure company)
-
-(use-package company-go
-  :ensure company-go
-  :init (add-to-list 'company-backends 'company-go))
-
-(use-package go-mode
-  :ensure go-mode
-  :mode "\\.go\\'"
-  :commands (godoc gofmt gofmt-before-save go-remove-unused-imports)
-  :init
-  (progn
-    (setq gofmt-command "goimports")
-    (add-hook 'before-save-hook 'gofmt-before-save)
-    ;; By default company-mode loads every backend it has. If you want
-    ;; to only have company-mode enabled in go-mode add the following
-    ;; to your emacs-config:
-    (add-hook 'go-mode-hook (lambda ()
-			      (set (make-local-variable 'company-backends) '(company-go))
-			      (company-mode)
-			      ;;(flycheck-mode)
-                              )))
-  :config
-  (progn
-    (bind-key "C-c C-P" 'aim/occur-go-public-functions)
-    (bind-key "C-c C-f" 'gofmt go-mode-map)
-    (bind-key "C-c C-g" 'go-goto-imports go-mode-map)
-    (bind-key "C-c C-k" 'godoc go-mode-map)
-    (bind-key "C-c C-r" 'go-remove-unused-imports go-mode-map)
-    (bind-key "C-M-x" 'aim/run-go-buffer go-mode-map)
-    (bind-key "M-." 'godef-jump go-mode-map)
-    (bind-key "<tab>" 'company-complete go-mode-map)
-    (bind-key "C-c C-r" 'go-remove-unused-imports go-mode-map)))
-
 (setq company-tooltip-limit 20)                      ; bigger popup window
 (setq company-idle-delay .3)                         ; decrease delay before autocompletion popup shows
 (setq company-echo-delay 0)                          ; remove annoying blinking

	  (concat
	   "-o ControlPath=/tmp/ssh-ControlPath-%%r@%%h:%%p "
	   "-o ControlMaster=auto -o ControlPersist=yes"))))

(and (file-exists-p "~/repos/xml-rpc/xml-rpc.el")
     (add-to-list 'load-path "~/repos/xml-rpc"))

  :ensure t)

(aim/add-to-load-path "vendor/go-projectile")

(eval-after-load 'rcirc '(require 'rcirc-notify))
(eval-after-load 'rcirc '(rcirc-notify-add-hooks))
