logoalt Hacker News

internet_pointstoday at 2:17 PM1 replyview on HN

...except ruler-mode uses dragging of middle mouse button to move the fill column, which on my system scrolls.


Replies

db48xtoday at 4:35 PM

Then simply change the keybindings.

Use `C-h k` and then middle click on the ruler-mode’s header to find out what command is bound to the middle mouse button, then bind that same command to a different mouse button:

    (keymap-set ruler-mode-map "<header-line> <down-mouse-3>" #'ruler-mode-mouse-grab-any-column)
show 1 reply