 (use-package projectile
   :ensure t
   :defer t
-  :init (projectile-global-mode t))
+  :init (projectile-global-mode t)
+  :config
+  (setq projectile-completion-system 'ivy))
 
 (use-package diff-hl
   :ensure t

  :ensure t
  :defer t
  :init (exec-path-from-shell-initialize))

;; (use-package ido
;;   :defer t
;;   :init (ido-mode t)
;;   :config
;;   (setq resize-mini-window nil
;;         ido-everywhere t
;;         ido-enable-flex-matching t
;;         ido-use-virtual-buffers 'auto))

;; (use-package ido-ubiquitous
;;   :ensure t
;;   :defer t
;;   :init (ido-ubiquitous-mode t))

;; (use-package smex
;;   :ensure t
;;   :defer t
;;   :init (smex-initialize)
;;   :bind (("M-m" . smex)
;;          ("M-M" . smex-major-mode-commands)))

(use-package company
  :ensure t

    (hlinum-activate)
    (add-hook 'prog-mode-hook #'linum-mode))
  :config
  (progn
    (defun td/setup-hlinum-faces ()
      (interactive)
      (set-face-attribute 'linum-highlight-face nil :inherit 'linum
                      :background (or (face-foreground 'linum) "#ccc")
                      :foreground (or (face-background 'linum) "#fff")))

    (add-hook 'window-setup-hook #'td/setup-hlinum-faces)))

(use-package linum
  :defer t
  :config
