From a1e148a6810bfc8e25cdd8e789de30068d342ff9 Mon Sep 17 00:00:00 2001 From: shoshin Date: Mon, 4 Jul 2022 15:21:24 -0500 Subject: Fix: [xah-fly-keys] set ctrl & meta vars before require otherwise xfk clobbers the normal bindings and it is confusing --- shoshin-config.el | 5 +++-- shoshin-config.org | 5 +++-- 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 -- cgit v1.2.3