Skip to content

How to order items in File Explorer with drag and drop?

SebastianMC edited this page Oct 23, 2023 · 40 revisions

Drag and drop sorting of items in File Explorer via Bookmarks integration

Contents

Overview

After installing the Custom File Explorer Sorting obsidian plugin you can take an advantage of drag and drop to conveniently reorder items in Obsidian File Explorer. This functionality is available thanks to integration with Obsidian bookmarks feature. You actually reorder items in a dedicated bookmark group and the File Explorer can reflect that order.

At the same time this feature doesn't interfere with more advanced, config-driven automatic sorting capabilities of the plugin. More details available in the home of File Explorer Custom Sort

The basic simple drag and drop scenario looks like below. More advanced examples and step-by-step tutorial in subsequent sections of this page.

Drag and drop ordering simplest example

Example 1: ordering items in a subfolder (short example)

Below the sequence from start to end.
For full quality video with play / pause controls go to Video for Example 1: ordering items in a subfolder (short example)
For more detailed instructions examine the step-by-step Example 2 below

Sorting of nested items

Example 2: step by step ordering items in root folder (long detailed example)

Step 1 (optional): open bookmarks in new tab for convenience

For convenience of the side-by-side view you can show bookmarks in a tab

Step 1 - open bookmarks tab (1)

Step 2: bookmark folder items for sorting via context menu

Use context menu to create bookmarks representing the items to sort by drag and drop.
A dedicated group in bookmarks will be created to contain items for sorting

Step 2 - bookmark it + siblings (1)

Step 3: drag and drop to reorder items

In bookmarks rearrange the items to get the desired order

Step 3 - drag and drop to reorder (1)

Step 4 variant A: apply the order via context menu

To apply the order set in bookmarks you can use the context menu, the ribbon toggle or the command.
Below the variant with context menu.

Step 4 variant A - apply via context menu (1)

Step 4 variant B: apply the order via ribbon toggle button

To apply the order set in bookmarks you can use the context menu, the ribbon toggle or the command.
Below the variant with ribbon toggle.

Step 4 variant B - apply via ribbon toggle button (1)

Step 4 variant C: apply the order via command

To apply the order set in bookmarks you can use the context menu, the ribbon toggle or the command.
Below the variant with the command.

Step 4 variant C - apply via command (1)

Full length video of the Example 2 end-to-end

For full quality video with play / pause controls go to Video for Example 2: ordering items in root folder (long example)