English | 日本語
Flat view swaps the pane’s listing for every file below the current directory, in one flat list. Run it again to go back.
| Action | Menu |
|---|---|
flat_view |
View → Flat View |
Keys depend on your keymap preset — see Keymap Presets. It is also in the command palette (Tools → Command Palette…).
Photos/ 2024/trip/a.jpg
2024/trip/a.jpg → 2024/trip/b.jpg
2024/trip/b.jpg 2025/c.jpg
2025/c.jpg notes.txt
notes.txt
Anything you can do with a list works on the whole tree at once:
*.jpg (View → Filter…), select them all, and
copy them to the other pane.You can also view, edit, rename, delete, compare and get details as usual.
2024/trip/a.jpg. Sort, filter and incremental search use that path, so
2024/* filters to one year.[Flat view] /the/directory.If items are selected when you turn on flat view, only those are flattened. Each selected directory contributes everything below it, and each selected file appears as itself. To flatten the whole directory, clear the selection first (Select → Clear Selection).
The progress dialog counts the files as they are found, and Esc stops the
walk. Stopping leaves the pane as it was rather than showing part of the tree.
Flat view works under ssh://, s3:// and inside archives, the same as
any other location.
View → Flat View again, or Backspace, returns to the directory with the cursor on
the item it was on.
2024/a.jpg and 2025/a.jpg to
the other pane puts both directly into that directory, so the second one
meets the first and you get the usual
conflict dialog.KEY_BINDINGS['flat_view'] = ['Ctrl-B']
Inside tmux, Ctrl-B is tmux’s prefix key and never reaches XeFM, so choose
another key there. See Key Bindings.
* finds files
by name across a tree, when you want to pick which ones.