mirror of http://codeberg.org/g1n/.emacs.d.git
Add exwm prefix keys
This commit is contained in:
parent
23e8e5d059
commit
00923d6bde
17
init.el
17
init.el
|
@ -82,6 +82,22 @@
|
|||
(require 'exwm)
|
||||
(require 'exwm-config)
|
||||
(require 'exwm-systemtray)
|
||||
|
||||
;; These keys should always pass through to Emacs
|
||||
(setq exwm-input-prefix-keys
|
||||
'(?\C-x
|
||||
?\C-u
|
||||
?\C-h
|
||||
?\M-x
|
||||
?\M-`
|
||||
?\M-&
|
||||
?\M-:
|
||||
?\C-\M-j ;; Buffer list
|
||||
?\C-\ )) ;; Ctrl+Space
|
||||
|
||||
;; Ctrl+Q will enable the next key to be sent directly
|
||||
(define-key exwm-mode-map [?\C-q] 'exwm-input-send-next-key)
|
||||
|
||||
;; key bindings
|
||||
(setq exwm-input-global-keys
|
||||
`(
|
||||
|
@ -110,6 +126,7 @@
|
|||
(interactive)
|
||||
(exwm-workspace-switch-create ,i))))
|
||||
(number-sequence 0 9))))
|
||||
|
||||
(exwm-enable)
|
||||
(exwm-systemtray-enable)
|
||||
|
||||
|
|
Loading…
Reference in New Issue