Expand folder with keyboard?

Hi, if I'm in Details mode with folder expansion enabled in the preferences, and I am navigating with the keyboard, how do I expand a folder?

It seems natural to me to allow the Right arrow to navigate into a sub-folder. I have figured out how to set Left and Right arrow hotkeys to accomplish expand ("Go EXPANDBRANCH") and collapse ("Go EXPANDBRANCH=collapse
") and It seems to work as I want. But I am not sure if this is the right approach, e.g. will setting arrow keys as hotkeys have some unwanted effects elsewhere, etc.

Rather, it seems like keyboard navigating into sub-folders should be built-in.

Thanks!

It is. E.g.:

2 Likes

I think use the script expand-folders-command may have more options,
for example,expandfolders toggle=expandtopCommands can quickly switch between expanded and collapsed states

Ah, I did not notice those. I like my shortcuts better & they don't seem to have any negative impact elsewhere in the app.

Wow, I got dizzy reading that. Way overkill for my needs but thanks for mentioning it.

Have you tried them in List View or Thumbnail Mode?

They don't work there. I'm OK with that as I don't use those modes much.

I'm with Rhywun on this one. I do wish DOpus would implement standard Windows shortcuts for common tasks instead of implementing its own.

It's muscle memory and one has a natural tendency to use it out of habit. It disrupts workflow when it doesn't work and one has to remember yet another shortcut and then actively retry it.

Right/left to expand/collapse subfolders while navigating is expected behaviour in Windows. IMHO it should be built in to DOpus.

Another one is Ctrl-Shift N to create a new folder (std Windows shortcut key) always catches me out. For some reason it's just Ctrl-N in DOpus. I appreciate it's simpler, but sticking to standard Windows shortcuts would keep things simpler from the user's perspective.

1 Like

Right/left already had a function (scroll right/left), this is also standard and expected behaviour. You can change it if you like.

Bit of a necro, but it took me a while to work this out so maybe it'll help someone else.

I rebound Alt+Down/Alt+Up to just Left/Right to the go expandbranch commands, but it breaks navigation in thumbnail view because it doesn't make sense to expand folders in a grid.

Simple to describe, a little work to derive, a "Details-only" guard around the expand behaviour:

@if:set view=details
go expandbranch
@if:else
select next

And similarly for collapse:

@if:set view=details
go expandbranch=collapse
@if:else
select prev

I've also rebound the original alt+down/up to do the original behaviour, so I can still expand in thumbnail view if I really want to.

3 Likes

Thank you so much, it's very helpful. I've tried using Alt Up and Down, but it's hard to get used to. It seems like it's really hard to change the habit of using the right and left arrow keys.

Thank you ! Very usefull for me too :slight_smile: