From 84601a397866ad3c0b509e2003567c415b852244 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 15 Nov 2017 18:30:33 +0100 Subject: 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. --- init/nixos.el | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/init/nixos.el b/init/nixos.el index 1a4e6bb46cb5..a8d02652a26b 100644 --- a/init/nixos.el +++ b/init/nixos.el @@ -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) -- cgit 1.4.1