Fix bindings for helm

This commit is contained in:
Lars Tveito 2020-03-17 17:09:43 +01:00
parent c21d03b836
commit 3120e73302

View File

@ -1259,6 +1259,12 @@
** Bindings for [[http://emacs-helm.github.io/helm/][Helm]] ** Bindings for [[http://emacs-helm.github.io/helm/][Helm]]
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(with-eval-after-load 'helm
(define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action)
(define-key helm-map (kbd "C-i") 'helm-execute-persistent-action)
(define-key helm-map (kbd "C-z") 'helm-select-action)
(define-key helm-map (kbd "<left>") 'helm-previous-source)
(define-key helm-map (kbd "<right>") 'helm-next-source)
(define-key custom-bindings-map (kbd "C-c h") 'helm-command-prefix) (define-key custom-bindings-map (kbd "C-c h") 'helm-command-prefix)
(define-key custom-bindings-map (kbd "M-x") 'helm-M-x) (define-key custom-bindings-map (kbd "M-x") 'helm-M-x)
(define-key custom-bindings-map (kbd "M-y") 'helm-show-kill-ring) (define-key custom-bindings-map (kbd "M-y") 'helm-show-kill-ring)
@ -1268,12 +1274,7 @@
(define-key custom-bindings-map (kbd "C-c h o") 'helm-occur) (define-key custom-bindings-map (kbd "C-c h o") 'helm-occur)
(define-key custom-bindings-map (kbd "C-c h g") 'helm-google-suggest) (define-key custom-bindings-map (kbd "C-c h g") 'helm-google-suggest)
(define-key custom-bindings-map (kbd "M-i") 'helm-swoop) (define-key custom-bindings-map (kbd "M-i") 'helm-swoop)
(define-key custom-bindings-map (kbd "M-I") 'helm-multi-swoop-all) (define-key custom-bindings-map (kbd "M-I") 'helm-multi-swoop-all))
(with-eval-after-load 'helm
(define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action)
(define-key helm-map (kbd "C-i") 'helm-execute-persistent-action)
(define-key helm-map (kbd "C-z") 'helm-select-action))
#+END_SRC #+END_SRC
** Bindings for [[https://github.com/bbatsov/projectile][Projectile]] ** Bindings for [[https://github.com/bbatsov/projectile][Projectile]]