diff options
-rw-r--r-- | .emacs.d/init.el | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -487,6 +487,15 @@ For disabling the behaviour for certain buffers and/or modes." (unbind-key "C-z" global-map)) (bind-keys + ;; for back and forward mouse keys + ("<mouse-8>" . previous-buffer) + ("<drag-mouse-8>" . previous-buffer) + ("<mouse-9>" . next-buffer) + ("<drag-mouse-9>" . next-buffer) + ("<drag-mouse-2>" . kill-this-buffer) + ("<drag-mouse-3>" . ivy-switch-buffer)) + +(bind-keys :prefix-map a/straight-prefix-map :prefix "C-c p s" ("u" . straight-use-package) |