EXWM: Work around C-c binding issues because of exwm-edit.

master
Pierre Neidhardt 2020-11-19 10:54:02 +01:00
parent 926396bc16
commit de2daa0f62
1 changed files with 4 additions and 3 deletions

View File

@ -271,8 +271,9 @@ WIth SETTING to :ENABLE or :DISABLE, set"
;; Even better: Use autorandr_launcher (https://github.com/phillipberndt/autorandr/issues/210).
(setq exwm-edit-bind-default-keys nil)
(when (require 'exwm-edit nil 'noerror)
(exwm-input-set-key (kbd "C-c '") #'exwm-edit--compose)
(exwm-input-set-key (kbd "C-c C-'") #'exwm-edit--compose))
;; REVIEW: The following prevents passing "C-c" to the child window.
;; (when (require 'exwm-edit nil 'noerror)
;; (exwm-input-set-key (kbd "C-c '") #'exwm-edit--compose)
;; (exwm-input-set-key (kbd "C-c C-'") #'exwm-edit--compose))
(provide 'init-exwm)