diff options
| author | Pierre Neidhardt <ambrevar@gmail.com> | 2017-11-07 11:34:21 +0100 |
|---|---|---|
| committer | Pierre Neidhardt <ambrevar@gmail.com> | 2017-11-07 11:34:21 +0100 |
| commit | 7ceb17c88a77a926975c47f382b37f3c5c4edbfa (patch) | |
| tree | 165dc519307e9ecac9ea32f0e46fc84c4729fdcb /evil-helm.el | |
| parent | 7f8936d99f3c2dcc1494ec3837e36cd939442f65 (diff) | |
Helm: Browse sources with "[" and "]"
Diffstat (limited to 'evil-helm.el')
| -rw-r--r-- | evil-helm.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/evil-helm.el b/evil-helm.el index 93b5cd9..001917e 100644 --- a/evil-helm.el +++ b/evil-helm.el @@ -41,7 +41,8 @@ (defun evil-helm-setup () ;; TODO: We should not modify helm-map in Emacs state but somehow it does not ;; work otherwise. - (define-key helm-map (kbd "M-h") 'helm-next-source) + (define-key helm-map (kbd "M-[") 'helm-previous-source) + (define-key helm-map (kbd "M-]") 'helm-next-source) (define-key helm-map (kbd "M-l") 'helm-execute-persistent-action) (dolist (map (list helm-find-files-map helm-read-file-map)) (define-key map (kbd "M-h") 'helm-find-files-up-one-level) @@ -49,6 +50,8 @@ (define-key map (kbd "C-l") nil)) ; So the header displays the above binding. (evil-define-key 'normal helm-map + (kbd "[") 'helm-previous-source + (kbd "]") 'helm-next-source "j" 'helm-next-line "k" 'helm-previous-line "g" 'helm-beginning-of-buffer |
