emacsorphanage / helm-swoop

Efficiently hopping squeezed lines powered by Emacs helm interface
GNU General Public License v3.0
689 stars 55 forks source link

Helm swoop in selected region #109

Open talwrii opened 7 years ago

talwrii commented 7 years ago

I'm not sure if this is already implemented, I found the narrow-to-region advice in helm-occur, but could not worked out to use it.

I ended up writing a hacky function myself:


  (narrow-to-region (or start (region-beginning)) (or end (region-end)))
  (helm-swoop)
  (widen))```