Hacker News new | ask | show | jobs
by chungy 1687 days ago
> it's repurposing something you already have but never use: your Scroll Lock key.

You can tell the author doesn't use Excel :)

3 comments

Ha! :-D

Hi. Author here.

Yes, I do occasionally use Excel (although I favour LibreOffice for most things these days.) TBH, though, this is I think the first time I have ever heard of anyone wanting this behaviour. Usually I heard about people who couldn't understand why they were no longer able to scroll around their spreadsheet in the usual way.

I'm vaguely glad to learn that someone somewhere does want this!

I use Excel but now I'm curious.
Scroll lock mode (arrow keys scrolling the window rather than moving the cursor) is almost identical to the way the arrow keys work to scroll a web page – a sort of keyboard equivalent to using a mouse scroll wheel or 2-finger scrolling on a trackpad. It's particularly nice in that it scrolls a single row or column at a time, and particularly useful for spreadsheets (Excel) and text editors.

I currently have a compact ("tenkeyless") keyboard which lacks the key, so I tend to use a spring-loaded setup where holding down alt/option/etc. and an arrow key scrolls the window.

I don't have a scroll lock key to experiment, but it appears that it changes the arrow key behavior.

https://www.ablebits.com/office-addins-blog/2018/05/23/turn-...

This is basically what the Scroll Lock key was meant for in the first place, but the convention never really caught on, so the continued presence of the key baffles a lot of people. I recall FreeBSD's console driver supporting using Scroll Lock in a similar way to move through the scrollback buffer, although I don't know whether this is still true in practice (e.g. if using a UEFI or drm console driver rather than old-school VGA).
In Linux, I have the scroll-lock key mapped to lock the screen.
I have it mapped to the Yakuake drop-down terminal