   ("<f4> n" . deft))
 
 (use-package company
-  :config
+  :init
   (progn
     (add-hook 'after-init-hook 'global-company-mode))
+  :config
   :diminish company-mode)
 
 ; enable code folding (evil has bindings)
 (use-package hideshow
-  :config
+  :init
   (progn
     (add-hook 'c-mode-common-hook   'hs-minor-mode)
     (add-hook 'c++-mode-hook        'hs-minor-mode)

          helm-gtags-ignore-case t))
  :config
  (progn
    (add-hook 'dired-mode-hook 'helm-gtags-mode)
    (add-hook 'eshell-mode-hook 'helm-gtags-mode)
    (add-hook 'c-mode-hook 'helm-gtags-mode)

        (semantic-mode t)
        (setq tab-width 4)))
    (add-hook 'python-mode-hook 'guess-style-guess-tabs-mode))
  :mode
  (("\\.py\\'" . python-mode)
   ("\\.py3\\'" . python-mode)))

(use-package git-gutter
  :config
