Remix.run Logo
internet_points 7 hours ago

TIL about ruler-mode; now I can delete my own half-assed implementation of the same.

And compare-windows looks really handy. I was about to write a note in my init file to my future self telling me to start using that, but then I saw there is already a note there from my past self, telling me about compare-windows.

scroll-all-mode seems useful, but it seems to only handle keyboard scrolling, not mouse-wheel?

5 hours ago | parent | next [-]
[deleted]
internet_points 5 hours ago | parent | prev [-]

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

db48x 3 hours ago | parent [-]

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)
internet_points 12 minutes ago | parent [-]

[dead]