swiper ability added. closing #8
This commit is contained in:
parent
3bd262d7fe
commit
554ce39701
|
@ -4,4 +4,6 @@ kuso.d/*
|
|||
*~
|
||||
build.log
|
||||
.cask/*
|
||||
packages/
|
||||
packages/
|
||||
lib/magic-buffer.el
|
||||
assets/
|
|
@ -18,6 +18,8 @@
|
|||
(with-ability helm
|
||||
(depends-on 'helm))
|
||||
|
||||
(with-ability swiper
|
||||
(depends-on 'swiper))
|
||||
|
||||
;; Extension -------------------------------------
|
||||
(extension editor
|
||||
|
|
|
@ -112,6 +112,7 @@
|
|||
(setq ido-enable-flex-matching t)
|
||||
(ido-vertical-mode 1))
|
||||
|
||||
|
||||
;; Helm -----------------------------------------------------
|
||||
(with-ability helm
|
||||
|
||||
|
@ -135,6 +136,16 @@
|
|||
|
||||
(helm-mode 1))
|
||||
|
||||
;; Swiper ---------------------------------------------------
|
||||
(ability swiper ()
|
||||
"Replace default isearch with swiper"
|
||||
(ivy-mode 1)
|
||||
(setq ivy-use-virtual-buffers t)
|
||||
(global-set-key "\C-s" 'swiper)
|
||||
(global-set-key "\C-r" 'swiper)
|
||||
(global-set-key (kbd "C-c C-r") 'ivy-resume)
|
||||
(global-set-key [f6] 'ivy-resume))
|
||||
|
||||
;; Session Management ---------------------------------------
|
||||
(desktop-save-mode 1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue