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 ;; Line-editing shortcuts
(exwm-input-set-simulation-keys (exwm-input-set-simulation-keys
'(([?\C-b] . left) '(([?\C-d] . delete)
([?\C-f] . right) ([?\C-w] . ?\C-c)))
([?\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))))
;; Enable EXWM ;; Enable EXWM
(exwm-enable) (exwm-enable)