         projectile-completion-system 'ivy)
   :config
   (ido-mode -1)
-  (ivy-mode 1))
+  (ivy-mode 1)
+  (counsel-mode 1))
 
 ;;; Shell settings
 

  (add-hook 'prog-mode-hook 'whitespace-mode))

;; Auto indent
(use-package electric
  :defer t
  :init

(use-package company
  :diminish company-mode
  :bind (:map company-mode-map
              ("<tab>" . company-indent-or-complete-common)
         :map company-active-map
              ("C-n" . company-select-next)
              ("C-p" . company-select-previous)
              ("M-h" . company-quickhelp-manual-begin))
  :init
  (setq company-tooltip-align-annotations t)
  (add-hook 'prog-mode-hook 'company-mode)
  :config
  (use-package company-quickhelp
    :init
    (setq company-quickhelp-delay nil)
    (company-quickhelp-mode 1))

  (defvar-local my/auto-complete-fci-mode-on-p nil)

