Function: hmouse-click-to-swap
hmouse-click-to-swap is an autoloaded, interactive and byte-compiled
function defined in hmouse-drv.el.
Signature
(hmouse-click-to-swap)
Documentation
Mouse click on start and end windows for use with hkey-swap.
Swap the buffer in start window with the buffer in end window. Leave the end window selected.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-drv.el
;; Test this next command
;; (global-set-key [C-down-mouse-1] nil)
;; (global-set-key [C-mouse-1] 'hmouse-click-to-swap)
;;;###autoload
(defun hmouse-click-to-swap ()
"Mouse click on start and end windows for use with `hkey-swap'.
Swap the buffer in start window with the buffer in end window.
Leave the end window selected."
(interactive)
(hmouse-choose-windows #'hkey-swap))