emacs: exwm: add convenient prev/next buffer switching bindings
authorAmin Bandali <bandali@gnu.org>
Sat, 7 Sep 2019 05:06:35 +0000 (01:06 -0400)
committerAmin Bandali <bandali@gnu.org>
Sat, 7 Sep 2019 05:06:35 +0000 (01:06 -0400)
.emacs.d/init.el

index 93dd563..7805b28 100644 (file)
@@ -693,7 +693,9 @@ around if needed."
           ([XF86ScreenSaver] .
            (lambda ()
                     (interactive)
           ([XF86ScreenSaver] .
            (lambda ()
                     (interactive)
-                    (start-process "" nil "dm-tool" "lock")))))
+                    (start-process "" nil "dm-tool" "lock")))
+          ([\s-XF86Back] . previous-buffer)
+          ([\s-XF86Forward] . next-buffer)))
 
   ;; Line-editing shortcuts
   (setq exwm-input-simulation-keys
 
   ;; Line-editing shortcuts
   (setq exwm-input-simulation-keys