emacs: better simulation keys for abrowser, fix s-N bindings
authorAmin Bandali <bandali@gnu.org>
Fri, 6 Sep 2019 17:50:50 +0000 (13:50 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 6 Sep 2019 17:51:15 +0000 (13:51 -0400)
.emacs.d/init.el

index f7afe3c..eb0606a 100644 (file)
@@ -582,7 +582,7 @@ For disabling the behaviour for certain buffers and/or modes."
 
 (use-feature exwm-input
   :demand
 
 (use-feature exwm-input
   :demand
-  :after exwm
+  :after exwm-workspace
   :config
   (defun b/exwm-ws-prev-index ()
     "Return the index for the previous EXWM workspace, wrapping
   :config
   (defun b/exwm-ws-prev-index ()
     "Return the index for the previous EXWM workspace, wrapping
@@ -725,8 +725,8 @@ around if needed."
                               (exwm-input-set-local-simulation-keys
                                `(,@exwm-input-simulation-keys
                                  ([?\C-\S-d] . [?\C-d])
                               (exwm-input-set-local-simulation-keys
                                `(,@exwm-input-simulation-keys
                                  ([?\C-\S-d] . [?\C-d])
-                                 ([?\C-\S-w] . [?\C-w])
-                                 ([?\C-\S-q] . [?\C-q])))))))))
+                                 ([?\C-q] . [?\C-w])
+                                 ([?\s-q] . [?\C-q])))))))))
 
 (use-feature exwm-randr
   :demand
 
 (use-feature exwm-randr
   :demand