[Init] Use ‘swiper-isearch’ when available

This commit is contained in:
Daniel - 2019-04-12 11:10:26 +02:00
parent 0c3b613625
commit e7222330c9
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 3 additions and 1 deletions

View File

@ -196,7 +196,6 @@
(bind-key "C-c s" #'synonyms)
(bind-key "C-h C-f" #'find-function)
(bind-key "C-h C-k" #'find-function-on-key)
(bind-key "C-s" #'isearch-forward)
(bind-key "M-i" #'swiper-from-isearch isearch-mode-map)
(bind-key "C-x C-d" #'dired)
(bind-key "C-x C-r" #'revert-buffer)
@ -230,6 +229,9 @@
(bind-key "C-h v" #'counsel-describe-variable)
(bind-key "C-S-s" #'counsel-grep-or-swiper))
(when (package-installed-p 'swiper)
(bind-key "C-s" #'swiper-isearch))
(when (package-installed-p 'helm)
(bind-key "M-y" #'helm-show-kill-ring))