mirror of
https://github.com/vale981/boon
synced 2025-03-04 17:11:40 -05:00
set search string after swiper
This commit is contained in:
parent
270ae67b31
commit
339fe1b220
1 changed files with 5 additions and 1 deletions
|
@ -86,9 +86,13 @@ the regexp."
|
|||
(interactive)
|
||||
(hi-lock-face-buffer boon-regexp 'hi-yellow))
|
||||
|
||||
(defadvice isearch-exit (after ysph-hl-search activate compile)
|
||||
(defadvice isearch-exit (after boon-isearch-set-search activate compile)
|
||||
"After isearch, highlight the search term and set it as boon current regexp."
|
||||
(boon-set-search-string isearch-string))
|
||||
|
||||
(defadvice swiper--action (after boon-swiper-set-search activate compile)
|
||||
"After isearch, highlight the search term and set it as boon current regexp."
|
||||
(boon-set-search-regexp (car regexp-search-ring)))
|
||||
|
||||
(provide 'boon-search)
|
||||
;;; boon-search.el ends here
|
||||
|
|
Loading…
Add table
Reference in a new issue