emacsorphanage / helm-swoop

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

How can I make helm-swoop-edit use same buffer as helm-swoop? #198

Open NicholasBHubbard opened 3 years ago

NicholasBHubbard commented 3 years ago

Currently my helm swoop edit behaves like so:

+---------+----------+                           +----------------------+
|         |          |                           |          |           |
|  point  |          |                           |          |    helm   |
|         |          |                           |          |   swoop   |
---------------------+             --->          |          |    edit   |
|       helm         |                           |          |           |
|      swoop         |                           |          |           |
+---------+----------+                           +----------------------+

But I would like it to behave like this:

+---------+----------+                           +----------------------+
|         |          |                           |          |           |
|  point  |          |                           |  point   |           |
|         |          |                           |          |           |
---------------------+             --->          +----------------------+ 
|       helm         |                           |        helm          |
|      swoop         |                           |      swoop edit      |
+---------+----------+                           +----------------------+

I am getting the current behavior with this setting:

(setq helm-swoop-split-window-function 'helm-default-display-buffer)