aboutsummaryrefslogtreecommitdiff
path: root/shoshin-config.org
diff options
context:
space:
mode:
authorshoshin <shoshin@cicadas.surf>2022-07-04 15:21:24 -0500
committershoshin <shoshin@cicadas.surf>2022-07-04 15:21:24 -0500
commita1e148a6810bfc8e25cdd8e789de30068d342ff9 (patch)
tree51ae2b53bff4222d450cfdb3336ac790d220b67f /shoshin-config.org
parent72088b763efbcc6d3e2f4c724917cd6a66754535 (diff)
Fix: [xah-fly-keys] set ctrl & meta vars before require
otherwise xfk clobbers the normal bindings and it is confusing
Diffstat (limited to 'shoshin-config.org')
-rw-r--r--shoshin-config.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/shoshin-config.org b/shoshin-config.org
index b67f689..224c0c1 100644
--- a/shoshin-config.org
+++ b/shoshin-config.org
@@ -168,11 +168,12 @@ tightly right now. you may have other opinions about keybindings
#+name: keybinding
#+begin_src emacs-lisp
+ ;; these need to be set before requiring the package
+ (setq xah-fly-use-control-key nil
+ xah-fly-use-meta-key nil)
(package-install 'xah-fly-keys)
(require 'xah-fly-keys)
(xah-fly-keys-set-layout "qwerty")
- (setq xah-fly-use-control-key nil
- xah-fly-use-meta-key nil)
(xah-fly-keys t)
#+end_src