Add keybindings for swiper-thing-at-point and enable recursive minibufs

This commit is contained in:
Jeremy Dormitzer 2020-05-20 13:10:52 -04:00
parent a8cbbdd5a4
commit 78c3db9eeb

View File

@ -56,7 +56,8 @@ Another optimization from [[https://github.com/hlissner/doom-emacs/blob/develop/
#+BEGIN_SRC emacs-lisp
(setq vc-follow-symlinks t
frame-resize-pixelwise t
tab-always-indent 'complete)
tab-always-indent 'complete
enable-recursive-minibuffers t)
(setq-default indent-tabs-mode nil)
#+END_SRC
@ -4703,7 +4704,8 @@ An alternative minibuffer completion framework:
(jdormit/define-prefix "i" "ivy")
(jdormit/define-prefix "iU" "ui")
(leader-def-key "ir" #'ivy-resume)
(leader-def-key "ip" #'counsel-yank-pop)
(leader-def-key "ip" #'swiper-thing-at-point)
(leader-def-key "iP" #'counsel-yank-pop)
(leader-def-key "iu" #'counsel-unicode-char)
(leader-def-key "iUt" #'counsel-load-theme)
(leader-def-key "is" #'swiper)
@ -4747,7 +4749,8 @@ An alternative minibuffer completion framework:
("C-c P" #'counsel-yank-pop)
("C-s" #'swiper-isearch)
(help-map "f" #'counsel-describe-function)
(help-map "v" #'counsel-describe-variable))
(help-map "v" #'counsel-describe-variable)
((normal motion visual) "g/" #'swiper-thing-at-point))
(use-package ivy-hydra
:after counsel)