aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shoshin-config.el5
-rw-r--r--shoshin-config.org5
2 files changed, 6 insertions, 4 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
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