Use the wiki Configuration-Example for exwm-input-simulation-keys

This commit is contained in:
Adam Schaefers 2019-08-01 22:58:52 -07:00
parent c579476536
commit 5ec9826d70

View file

@ -59,8 +59,12 @@
;; Line-editing shortcuts ;; Line-editing shortcuts
(unless (get 'exwm-input-simulation-keys 'saved-value) (unless (get 'exwm-input-simulation-keys 'saved-value)
(setq exwm-input-simulation-keys (setq exwm-input-simulation-keys
'(([?\C-b] . [left]) '(
;; movement
([?\C-b] . [left])
([?\M-b] . [C-left])
([?\C-f] . [right]) ([?\C-f] . [right])
([?\M-f] . [C-right])
([?\C-p] . [up]) ([?\C-p] . [up])
([?\C-n] . [down]) ([?\C-n] . [down])
([?\C-a] . [home]) ([?\C-a] . [home])
@ -68,7 +72,13 @@
([?\M-v] . [prior]) ([?\M-v] . [prior])
([?\C-v] . [next]) ([?\C-v] . [next])
([?\C-d] . [delete]) ([?\C-d] . [delete])
([?\C-k] . [S-end delete])))) ([?\C-k] . [S-end delete])
;; cut/paste.
([?\C-w] . [?\C-x])
([?\M-w] . [?\C-c])
([?\C-y] . [?\C-v])
;; search
([?\C-s] . [?\C-f]))))
;; Enable EXWM ;; Enable EXWM
(exwm-enable) (exwm-enable)
;; Configure Ido ;; Configure Ido