From: Amin Bandali Date: Wed, 29 May 2019 01:38:08 +0000 (-0400) Subject: emacs: add a few global mouse-based bindings for convenience X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/500004f42d3126648187319eb41b211d2c3ac1af emacs: add a few global mouse-based bindings for convenience --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 25a8ada..b67efd0 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -486,6 +486,15 @@ For disabling the behaviour for certain buffers and/or modes." (when (display-graphic-p) (unbind-key "C-z" global-map)) +(bind-keys + ;; for back and forward mouse keys + ("" . previous-buffer) + ("" . previous-buffer) + ("" . next-buffer) + ("" . next-buffer) + ("" . kill-this-buffer) + ("" . ivy-switch-buffer)) + (bind-keys :prefix-map a/straight-prefix-map :prefix "C-c p s"