]> code.delx.au - gnu-emacs-elpa/commit
swiper.el (swiper-query-replace): Improve "M-n"
authorOleh Krehel <ohwoeowho@gmail.com>
Thu, 31 Mar 2016 14:06:23 +0000 (16:06 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Thu, 31 Mar 2016 14:06:23 +0000 (16:06 +0200)
commitc24b6de1a2ce9e04b9b917b6ef8cbc9c09e09be7
tree8286c98c78a0b06e71277808a02898ffe6dd0afe
parent317741927652cb56fa9eca2c282203eea8b302df
swiper.el (swiper-query-replace): Improve "M-n"

To replace a symbol with a similar symbol,

1. Press "C-s" "M-n" for `swiper' and select the symbol at point as input.
2. Press "M-q" for `swiper-query-replace'
3. Press "M-n" to yank the symbol to replace.

Here step-3 was modified to yank e.g. "symbol" instead of "\_<symbo\_>"
previously.
swiper.el