about summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-11-15T17·30+0100
committerVincent Ambo <tazjin@gmail.com>2017-11-15T17·30+0100
commit84601a397866ad3c0b509e2003567c415b852244 (patch)
treebb1fdf72c306e48ddf50d077e96432cb1f69f94f /init
parentf06401d49339b8690aa4dbf660492d0d733d6a5b (diff)
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.
Diffstat (limited to 'init')
-rw-r--r--init/nixos.el12
1 files 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)