0

I'd like to do the same as for helm-swoop to not make swoop search at point, only when a word or expression is selected, and only then.

In helm-swoop I use:

(setq helm-swoop-pre-input-function
      (lambda ()
        (if mark-active
            (buffer-substring-no-properties (mark) (point))
          "")))

But I don't know the analogue to the same in swoop.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.