From 03ce1754b0e0d9c2e00cdbbc1eee5e255c65891d Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 29 Apr 2017 00:10:43 -0400 Subject: helm-swoop: Disable pre-input The pre-input text can still be set with the region. --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 75ae90d..9e7e0d7 100644 --- a/init.el +++ b/init.el @@ -1335,7 +1335,10 @@ (use-package helm-swoop :defer t - :init (define-key search-map "k" #'helm-swoop)) + :init + (setq helm-swoop-pre-input-function (lambda () nil)) + + (define-key search-map "k" #'helm-swoop)) (use-package helm-apropos :bind ("C-h a" . helm-apropos)) -- cgit v1.2.3