summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-04-29 00:10:43 -0400
committerKyle Meyer <kyle@kyleam.com>2017-04-29 00:10:43 -0400
commit03ce1754b0e0d9c2e00cdbbc1eee5e255c65891d (patch)
tree52686ddcf956ac5cd5eaa39026ba2944214268bf
parent28f4f2967e177c7e260d5249875cf67a87641a66 (diff)
downloademacs.d-03ce1754b0e0d9c2e00cdbbc1eee5e255c65891d.tar.gz
helm-swoop: Disable pre-input
The pre-input text can still be set with the region.
-rw-r--r--init.el5
1 files changed, 4 insertions, 1 deletions
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))