EXWM: Load helm-map when 'helm is loaded

master
Pierre Neidhardt 2017-10-18 14:42:24 +01:00
parent 25c3be345b
commit fb1f3a4bc1
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@
(require 'functions)
(exwm-input-set-key (kbd "s-\\") #'toggle-window-split)
(when (require 'helm-config nil t)
(with-eval-after-load 'helm
;; Need `with-eval-after-load' here since 'helm-map is not defined in 'helm-config.
(define-keys helm-map
"s-\\" 'helm-toggle-resplit-and-swap-windows)
(exwm-input-set-key (kbd "s-c") #'helm-resume)