From 2aa509b36c400aeb20b7e56e6a1d00390c610cb0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 25 Aug 2018 23:38:40 +0200 Subject: [PATCH] Fix left/right keys in helm These should be set to left-char/right-char, anything else is disruptive, especially when C-b and C-f are backward/forward-word. --- modules/config/default/+bindings.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/config/default/+bindings.el b/modules/config/default/+bindings.el index 2321a8c98..9477929e6 100644 --- a/modules/config/default/+bindings.el +++ b/modules/config/default/+bindings.el @@ -344,6 +344,8 @@ ;; helm (:after helm (:map helm-map + [left] #'left-char + [right] #'right-char "C-S-n" #'helm-next-source "C-S-p" #'helm-previous-source "C-j" #'helm-next-line @@ -366,7 +368,9 @@ "C-w" #'helm-find-files-up-one-level) (:after helm-ag :map helm-ag-map - [backtab] #'helm-ag-edit) + [backtab] #'helm-ag-edit + [left] nil + [right] nil) (:after helm-locate :map helm-generic-files-map [M-return] #'helm-ff-run-switch-other-window)