+1
I also need this.
It would be great if that feature can be adjusted for different purpose. In my mind comes for example docusaurus which was used for the great getting started tutorial for plugins at Obsidian Plugin Developer Docs | Obsidian Plugin Developer Docs (marcus.se.net)
It uses yaml frontmatter for markdown files:
sidebar_position: 1.0
The cool thing here is the type is a float. So if i want to insert between 1 and 2 i can write 1.5, which makes less commit changes if my vault is under git control.
For directory it uses a _category_.json
in each directory:
{
"label": "Advanced guides",
"position": 40
}
I canāt believe my luck but Custom Sort has officially been achieved.
Obsidian Bartender, a wonderful plugin that I already use for custom sorting of icons in the sidebar, has added Custom sorting to the file browser.
Example:
In order to install Obsidian Bartender, either manually install the plugin or use BRAT and search for nothingislist/obsidian-bartender.
Once youāve installed it, click the official Sort button in the file browser and hit āCustomā at the bottom.
My Obsidian wishlist is nearly complete.
Thank you @NothingIsLost!
Wow, thanks for mentioning this @B-C and thank you so, so much @NothingIsLost, this is fantastic!
I did notice that dragging things around folders doesnāt work perfectly, presumably because Obsidian thinks youāre trying to drag the item into the folders and not between them, probably a difficult issue to resolve. I found it much easier to open data.json
and rearrange them manually there before re-opening the vault.
Yeah, dragging items in-between folders isnāt possible currently. I freeze folders in place while dragging because if I donāt, you wouldnāt be able to place items into a folderā¦ the folder would keep slipping out from underneath your cursor Iām still considering options for improving that and open to any ideas.
Maybe a separate edit modal that brings up a list of items that you can drag up and down completely separate from the file explorer and itās associated functionality? Itās probably a lot more work but I canāt think of any more elegant solution.
It would also be nice to be able to retain custom sorting but not make it editable, itās easy to mess up, especially on mobile.
Thanks for the input. Iām thinking of adding an icon in the file explorer header bar that lets you toggle the ability to ādrag to rearrangeā. This will solve my ācanāt drop items into foldersā problem and your āitās easy to accidentally rearrange stuffā problem.
The new drag functionality can now be tested in the latest release https://github.com/nothingislost/obsidian-bartender/releases/tag/0.5.0
It also adds file explorer filtering: https://cdn.discordapp.com/attachments/931552763467411487/939943412147306596/Obsidian_fLiLiVToEc.mp4
This is absolutely fantastic, itās a lot easier to work with this way! Thank you for the amazing plugin, youāve made a really big difference to my workflow!
Oh wow, you even added regex support to the filtering, nice!
Thank you for this, canāt wait for full release. Amazing work, this helps a lot.
+1 that custom sorts on the folder should be a core plugin. this would make a big difference to file management.
This is THE Crucial Plugin for me.
Because I create Note headings first and keep filling them as and when I get time/discover more information. Hence my notes are often not in order of priority , rather then at the time I learnt/discovered them.
I signed up just to give this a +1. Iāve switched over to Obsidian a couple of weeks ago and have been loving it so far! Having the ability to order my notes freely is the only missing thing for me. I hope the development team puts this high up in their priority list.
Thank you so much for creating this plugin! The features look absolutely GREAT! And, the video you provided is very helpful.
However, Iāve run into what is probably a newbie issue:
- After installing the BRAT plugin and the Bartender plugin, and then closing and reopening Obsidian, the header bar for controlling this plugin is still not visible in my file explorer.
- Q: Is there a display or preference setting I need to adjust to make the plugin controls visible?
Thanks in advance for your help.
I didnāt need to adjust any settings to have it displayed, have you tried going back to the default theme to see if itās available there?
Any chance you might consider adding a way to hide a folder from the File Explorer? Iām guessing I can find the selector and display: none
but it seems like a feature that would be well aligned with Obsidian Bartender.
Thanks for the suggestion, @ChristinWhite. Iām already using the default theme, so apparently something else is causing the issue with the missing header bar . . . .
This is what mine looks like, I am using dark theme by kepano.
This plug-in is undeniably the one of ātheā best plugins I have ever used on Obsidian.
The only thing i can think of is that you may be delaying the load of the plugin. Are you using any of the delayed plugin load techniques like what TFTHacker posted last month? If so, youād need to exclude bartender from being delayed.
If thatās not the case, you may want to try disabling all plugins, except for bartender, and then restarting the app. If thatās still not fixing things, Iām at a bit of a loss.
@NothingIsLost ~ Thanks so much for your feedback! Iām not aware of the TFTHacker post to which you are referring, but Iāll see if I can find it.
At this point, I have no idea if any of my installed plugins include a ādelayed loadā feature, but Iāll be glad to test my installed plugins one-at-time to see if I can get to the root of the issue.
In the meantime, can you confirm that this plugin does (or does not) work with Obsidianās new Live Preview editor?