Skip to content

feat(10xer): toggle folders first from the comma chord - #2074

Merged
l0gicgate merged 1 commit into
mainfrom
feat/2073-comma-chord-folders-first
Nov 7, 2026
Merged

l0gicgate merged 1 commit into
mainfrom
feat/2073-comma-chord-folders-first

Conversation

@l0gicgate

Copy link
Copy Markdown
Contributor

Description

10xer mode hides the pane header, so its sort menu and the Folders first toggle can't be reached from there. , f now toggles the setting, and f works like the other sort steps: it appears in the chord hints, the F1 reference and Settings → Keyboard, and it can be rebound, including in the default map.

The toggle uses the existing application-wide setting, so it keeps the sort field and direction, re-sorts every open column, and saves as before. It reuses the existing "Folders first" string, so there are no new translations. Shift+F is not a step, so , F reports an unknown chord.

The menu and the chord now share Browser::toggle_folders_first. It does nothing in Recent, which never lists folders first. This also changes the menu: Recent keeps the item enabled after you pick another sort there, and clicking it used to turn the saved setting back on if it was off. Now the click does nothing. The item stays enabled in that case, which could be tidied separately.

Code health scores for the changed production files match main.

Visual evidence

N/A: agents cannot upload attachments. The chord hints gain one row, "f Folders first".

How to test

  1. Turn on 10xer mode and open a folder that holds both folders and files.
  2. Press , A to sort by name in reverse.
  3. Press , f, then , f again.
  4. Press , and read the hints, then press Esc. Open F1 and Settings → Keyboard, and look for Folders first.
  5. Press , f in Recent.

Expected result: the first , f mixes folders in with files and the second puts them back on top. The order stays reversed by name and the cursor stays on the same item. After the first press, the sort menu's Folders first item is unchecked outside 10xer mode, and that holds after a restart. All three places in step 4 list the key. In Recent, , f changes nothing.

Related issue

Closes #2073

10xer mode hides the pane header, so the sort menu's Folders first toggle
was out of reach. Add it as the f step of the comma chord, listed in the
chord hints, the F1 reference and Settings, and rebindable like the other
sort steps.

The menu and the chord share Browser::toggle_folders_first, which keeps
the sort field and direction. Recent never lists folders first, so it
ignores the toggle rather than changing the setting for other folders.

Refs #2073
@l0gicgate
l0gicgate merged commit d1f32ac into main Nov 7, 2026
11 checks passed
wmfeht added a commit to wmfeht/strata-feature-map that referenced this pull request Nov 7, 2026
Sync lgse/strata#2074–#2080: Folders first chord, devices grouped by drive, moved-folder Merge, undo restores replaced originals
@l0gicgate
l0gicgate deleted the feat/2073-comma-chord-folders-first branch November 24, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(10xer): toggle folders-first sorting from the comma chord

1 participant