fix(nixos): Improve key bindings in X11 applications

I don't actually use all that many emacs navication keys in X11
applications - but being able to copy & paste is nice.

Overrides the default set of input simulation keys for EXWM with
slightly fewer and more sane bindings.
This commit is contained in:
Vincent Ambo 2017-11-15 18:30:33 +01:00
parent f06401d493
commit 84601a3978

View file

@ -43,16 +43,8 @@
;; Line-editing shortcuts
(exwm-input-set-simulation-keys
'(([?\C-b] . left)
([?\C-f] . right)
([?\C-p] . up)
([?\C-n] . down)
([?\C-a] . home)
([?\C-e] . end)
([?\M-v] . prior)
([?\C-v] . next)
([?\C-d] . delete)
([?\C-k] . (S-end delete))))
'(([?\C-d] . delete)
([?\C-w] . ?\C-c)))
;; Enable EXWM
(exwm-enable)