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:
parent
f06401d493
commit
84601a3978
1 changed files with 2 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue