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-dwim? #73

Open dithomasrc opened 9 years ago

dithomasrc commented 9 years ago

I love that I can search for symbol-at-point, but sometimes (most of the time) Id like to be able to type a new string even if my cursor is on a symbol. Is there a way to automagically delete the entered symbol by typing a new string? I know C-k will kill the symbol, but Id like it automatically killed by typing a string.

ReneFroger commented 9 years ago

I would love this too!

Dickby commented 9 years ago

+1

sewkokot commented 9 years ago

If more frequently you just type the new string do the opposite, disable the pre-input and yank thing-at-point with C-w when needed. (setq helm-swoop-pre-input-function #'ignore)

cireu commented 5 years ago

Do you mean something like helm-grep-do-ag? AFIAK, helm-grep-do-ag will search symbol-at-point directly while no input but not treat it as preinput.