aboutsummaryrefslogtreecommitdiff
path: root/shoshin-config.el
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.el
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.el')
-rw-r--r--shoshin-config.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/shoshin-config.el b/shoshin-config.el
index 6fecaed..fccc766 100644
--- a/shoshin-config.el
+++ b/shoshin-config.el
@@ -11,11 +11,12 @@
package-native-compile t))
;;; Major Keybinding
+;; 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)
;;; Completion