Tweak the ivy module
This commit is contained in:
parent
ed6d63570b
commit
eb1702eed7
1 changed files with 7 additions and 3 deletions
|
@ -9,7 +9,10 @@
|
|||
|
||||
;;; Commentary:
|
||||
|
||||
;; Ivy-related config.
|
||||
;; Ivy-related config. Ivy is a smart framework for minibuffer
|
||||
;; completion/filtering/selection (think of ido). Swiper and counsel
|
||||
;; are two packages built on top of ivy that provide ivy-powered
|
||||
;; versions of popular Emacs commands.
|
||||
|
||||
;;; License:
|
||||
|
||||
|
@ -31,6 +34,7 @@
|
|||
;;; Code:
|
||||
(prelude-require-packages '(ivy swiper counsel))
|
||||
|
||||
;;; Ivy
|
||||
;; ivy is a powerful alternative to the popular ido-mode
|
||||
|
||||
(require 'ivy)
|
||||
|
@ -43,11 +47,12 @@
|
|||
|
||||
(setq projectile-completion-system 'ivy)
|
||||
|
||||
;;; Swiper
|
||||
;; swiper provides enhanced buffer search
|
||||
|
||||
(global-set-key "\C-s" 'swiper)
|
||||
|
||||
|
||||
;;; Counsel
|
||||
;; counsel supercharges a lot of commands with some ivy magic
|
||||
|
||||
(global-set-key (kbd "M-x") 'counsel-M-x)
|
||||
|
@ -63,6 +68,5 @@
|
|||
(global-set-key (kbd "C-x l") 'counsel-locate)
|
||||
(define-key minibuffer-local-map (kbd "C-r") 'counsel-minibuffer-history)
|
||||
|
||||
|
||||
(provide 'prelude-ivy)
|
||||
;;; prelude-ivy.el ends here
|
||||
|
|
Loading…
Reference in a new issue