   (setq ivy-use-virtual-buffers t
         ivy-count-format "%d/%d ")
   (ivy-mode 1)
-  (counsel-mode 1)
-
-  (leader
-    "b" '(:ignore t :which-key "buffers")
-    "bb" 'ivy-switch-buffer))
+  (counsel-mode 1))
 
 (use-package company
   :diminish company-mode

  :config
  (setq projectile-completion-system 'ivy)

  (projectile-mode 1)

  (leader
    "p" '(:ignore t :which-key "project")
    "pf" 'projectile-find-file
    "pt" 'projectile-dired
    "pg" 'projectile-grep
    "pG" 'counsel-git-grep
    "fg" 'counsel-grep
    "pT" 'projectile-run-term))

;;; TODO proof general

(use-package rainbow-delimiters
  :hook (prog-mode . rainbow-delimiters-mode))

(use-package spacemacs-theme
  :defer t
  :init (load-theme 'spacemacs-dark t))

;;; File types


  :defer t
  :hook (org-mode . org-indent-mode)
  :config
  (require 'org-man))

  ;; TODO set org directory for org-agenda

(use-package restclient
  :mode ("\\.restclient\\'" . restclient-mode))

(use-package ledger-mode :defer t)
;; FIXME `ledger-mode-clean-buffer' should sort in reverse order

(load-theme 'tsdh-light t)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
