 (require 'dired)
 (require 'dired-collapse)
 (require 'dired-subtree)
+(require 'ivy-dired-history)
 
 (bind-key "<tab>" 'dired-subtree-insert dired-mode-map)
 (bind-key "<deletechar>" 'dired-subtree-remove dired-mode-map)

(bind-key "C-x C-s" 'ivy-occur ivy-minibuffer-map)
(advice-add 'ivy-occur :after #'ivy-occur-grep-mode)

(require 'counsel)
(bind-keys ("M-x" . counsel-M-x)
           ("C-x C-f" . counsel-find-file)

                     ivy
                     ivy-rich
                     ivy-xref
                     ivy-dired-history
                     smex
                     counsel
                     counsel-projectile
