Helm key-binding fixes

This commit is contained in:
Wojciech Kozlowski 2017-08-27 21:57:18 +01:00
parent 5cc3667cb7
commit c78422a259

View File

@ -34,9 +34,7 @@
("M-y" . helm-show-kill-ring) ("M-y" . helm-show-kill-ring)
("C-x b" . helm-mini) ("C-x b" . helm-mini)
("C-M-j" . helm-semantic-or-imenu) ("C-M-j" . helm-semantic-or-imenu)
("C-c h M-s M-o" . helm-occur) ("C-h SPC" . helm-all-mark-rings))
("C-h SPC" . helm-all-mark-rings)
("C-c h x" . helm-register))
:config :config
(require 'helm-config) (require 'helm-config)
(require 'helm-descbinds) (require 'helm-descbinds)
@ -100,6 +98,11 @@
;; List actions using C-z. ;; List actions using C-z.
(define-key helm-map (kbd "C-z") 'helm-select-action) (define-key helm-map (kbd "C-z") 'helm-select-action)
;; Change some Helm default key-bindings. Due to the `helm-config' require
;; these have to overridden here rather than with other keys in `:bind'.
(global-set-key (kbd "C-c h x") 'helm-register)
(global-set-key (kbd "C-c h M-o") 'helm-occur)
;; ------------------------------------------------------------------------ ;; ------------------------------------------------------------------------
;; Activate helm-descbinds. ;; Activate helm-descbinds.
;; ------------------------------------------------------------------------ ;; ------------------------------------------------------------------------
@ -107,7 +110,7 @@
(helm-descbinds-mode) (helm-descbinds-mode)
;; ------------------------------------------------------------------------ ;; ------------------------------------------------------------------------
;; Configure projectil. ;; Configure projectile.
;; ------------------------------------------------------------------------ ;; ------------------------------------------------------------------------
(projectile-global-mode) (projectile-global-mode)