(setq-default ivy-use-virtual-buffers t ;; Display recent files in ivy-switch-buffer ivy-count-format "(%d of %d) " ;; Current candidate count style ivy-display-style 'fancy ;; Formatting style ivy-re-builders-alist '((t . ivy--regex-fuzzy))) ;; Use fuzzy matching (global-set-key (kbd "C-c a") 'counsel-ag) (global-set-key (kbd "C-c b") 'ivy-switch-buffer) (global-set-key (kbd "C-c t") 'counsel-find-file) (global-set-key (kbd "C-s") 'swiper) ;; Find things by regexp (global-set-key (kbd "M-x") 'counsel-M-x) ;; M-x on steroids (global-set-key (kbd " f") 'counsel-describe-function) (global-set-key (kbd " v") 'counsel-describe-variable) (global-set-key (kbd " l") 'counsel-find-library) (global-set-key (kbd " i") 'counsel-info-lookup-symbol) (global-set-key (kbd " u") 'counsel-unicode-char)