Commit 85aac65a authored by Guilherme Semente's avatar Guilherme Semente 🌱

Fix swiper-map keybindings

parent b4f52753
......@@ -458,18 +458,13 @@ You may find other key bindings inside use-package statements."
(use-package ivy
:ensure t
:diminish ""
:bind (("C-s" . swiper)
("C-r" . swiper-backward))
;; make its keybindings behave similarly to ido and Emacs defaults
;; make its keybindings behave similarly to ido
:bind (:map ivy-minibuffer-map
("C-m" . ivy-alt-done)
;; ("M-r" . ivy-reverse-i-search)
("M-y" . ivy-next-line) ; to use within `counsel-yank-pop'
("C-s" . ivy-next-line)
("C-r" . ivy-previous-line))
:bind (:map swiper-map
("C-s" . ivy-next-line-or-history)
("C-r" . ivy-previous-line-or-history))
:config
(setq ivy-count-format ""
ivy-height 7
......@@ -477,6 +472,15 @@ You may find other key bindings inside use-package statements."
ivy-re-builders-alist '((t . ivy--regex-fuzzy)))
(ivy-mode 1))
(use-package swiper
:ensure t
;; make its keybindings behave similarly to isearch
:bind (("C-s" . swiper)
("C-r" . swiper-backward))
:bind (:map swiper-map
("C-s" . ivy-next-line-or-history)
("C-r" . ivy-previous-line-or-history)))
(use-package counsel
:ensure t
:diminish ""
......@@ -485,7 +489,6 @@ You may find other key bindings inside use-package statements."
:config
(counsel-mode 1))
(use-package dired
:defer
:init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment