PgUp and PgDn to go first and last item on a list of files

That's a default thing in File Explorer, is it possible to achieve what's mentioned in the title using DO?

That's a default thing in File Explorer

Is it?

On my system Pos1, End, PgUp, and PgDn all do what you'd expect them to do (Go to first/last item in list, turn one page up/down), both in File Explorer and Opus.

I don't think I ever changed my setup.

Of course, in Opus you can change PgUp and PgDn to behave like Pos1 and End.

What Lxp says is true as far as I know. (Pos1 is called Home on US / UK keyboards, but it's just a different name for the same key.)

Page Up/Down shouldn't go to the first / last file in the list, only the first / last visible file, and then to the next "page" of files. That's true in both Opus* and Explorer, and almost everything.

(*Assuming the key hasn't been overridden, which you can do if you want.)

Here is a video explaining what i want to achieve, First the New folder is on focus then i hit PgDn it go to 74 then i hit PgDn but it doesn't go to 110 (works with FE), same thing when the New folder 100 is on focus i hit PgUp it go to 26 and i hit PgUp another time but it doesn't go to the original New folder (works with FE), I hope this explain what i want to achieve

Push Home or End to go to the first or last file.

(Aside: It's worth mentioning if something only applies to List view, since we usually assume Details view unless otherwise stated. List view isn't used very much.)

Is it possible to achieve the same thing with PgUp and PgDn instead of home and end?

You could, but then you'd lose the ability to do the things which PgUp/Dn do by default.

If you really want to, create a new Lister Hotkey which runs Select FIRST or Select LAST when those keys are pressed. You can do that via Settings > Customize Toolbars > Keys. (Help > Keyboard Map is another way to go to the same place.)

That will give you something which isn't how Explorer works, though. PgUp/Dn in Explorer don't select the first or last file, except that once you've pushed them enough times to be on the leftmost or rightmost column in Explorer, pushing them again will take you to the first/last file in that column. (But if you want the first/last file, you can get there in one keypress via the Home or End keys, unless on a laptop keyboard or something where Home/End might be harder to press, I guess.)

Exactly

1 Like

Maybe we can emulate what Explorer does here. I'll try to have a look at the code tomorrow, although I can't promise anything yet.

1 Like