Emacs: documented ivy stuff

This commit is contained in:
Marcel Kapfer 2017-11-03 07:29:33 +01:00
parent 3bcbf17130
commit 63875ef00f

View file

@ -329,16 +329,16 @@
;;; enable neotree theme ;;; enable neotree theme
(doom-themes-neotree-config) (doom-themes-neotree-config)
;; experimental stuff
;;; ivy default configuration ;;; ivy default configuration
;;; always enable ivy
(ivy-mode 1) (ivy-mode 1)
;;; ivy configuration
(setq ivy-use-virtual-buffers t) (setq ivy-use-virtual-buffers t)
(setq ivy-count-format "(%d/%d) ") (setq ivy-count-format "(%d/%d) ")
;;; ivy keys
(global-set-key (kbd "C-s") 'swiper) (global-set-key (kbd "C-s") 'swiper)
(global-set-key (kbd "M-x") 'counsel-M-x) (global-set-key (kbd "M-x") 'counsel-M-x)
(global-set-key (kbd "C-x C-f") 'counsel-find-file) (global-set-key (kbd "C-x C-f") 'counsel-find-file)