Convert files to packages

This commit is contained in:
Maciej 2020-07-24 10:47:40 +03:00
parent b1a6bb4290
commit c40fb9f504
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
12 changed files with 48 additions and 45 deletions

View file

@ -1,29 +0,0 @@
;;; 02ivy -- summary
;;; Commentary:
;;; Counsel, Swiper and Ivy.
;;; Code:
(use-package counsel :ensure t :defer t)
(use-package swiper :ensure t :defer t)
(use-package ivy
:requires (counsel swiper)
:ensure t
:defer t
:config (setq 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
(global-set-key (kbd "C-c a") 'counsel-rg)
(global-set-key (kbd "C-c t") 'counsel-find-file)
(global-set-key (kbd "C-c C-s") 'swiper) ;; Find things by regexp
(global-set-key (kbd "M-x") 'counsel-M-x) ;; M-x on steroids
(global-set-key (kbd "<f1> f") 'counsel-describe-function)
(global-set-key (kbd "<f1> v") 'counsel-describe-variable)
(global-set-key (kbd "<f1> l") 'counsel-find-library)
(global-set-key (kbd "<f2> i") 'counsel-info-lookup-symbol)
(global-set-key (kbd "<f2> u") 'counsel-unicode-char)
(provide '02ivy)
;;; 02ivy.el ends here