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.
This commit is contained in:
Henrik Lissner 2018-08-25 23:38:40 +02:00
parent 4f671c3acb
commit 2aa509b36c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -344,6 +344,8 @@
;; helm ;; helm
(:after helm (:after helm
(:map helm-map (:map helm-map
[left] #'left-char
[right] #'right-char
"C-S-n" #'helm-next-source "C-S-n" #'helm-next-source
"C-S-p" #'helm-previous-source "C-S-p" #'helm-previous-source
"C-j" #'helm-next-line "C-j" #'helm-next-line
@ -366,7 +368,9 @@
"C-w" #'helm-find-files-up-one-level) "C-w" #'helm-find-files-up-one-level)
(:after helm-ag (:after helm-ag
:map helm-ag-map :map helm-ag-map
[backtab] #'helm-ag-edit) [backtab] #'helm-ag-edit
[left] nil
[right] nil)
(:after helm-locate (:after helm-locate
:map helm-generic-files-map :map helm-generic-files-map
[M-return] #'helm-ff-run-switch-other-window) [M-return] #'helm-ff-run-switch-other-window)