Skip to content

Allows for rearranging the elements in the status bar and sidebar ribbon

Notifications You must be signed in to change notification settings

Mara-Li/obsidian-bartender

 
 

Repository files navigation

Obsidian Bartender

Warning

The plugin is heavely experimental and use some internal function of Obsidian to make it works. It can break at any update of Obsidian.
As I'm not the original maintainer some part of the code are obscure to me. I will try to fix any bug you can make, but new feature can be difficult to support.
More over, the loading of the plugin and the unloading doesn't work pretty well, and you always should to reload Obsidian to make it works.

Take control of your Obsidian workspace by organizing, rearranging, and filtering the file explorer. It also adds collapse (optionally) in the status bar and ribbon.

File Explorer

To rearrange :

  • Click on the sort icon image
  • Choose "custom", the icon will change to: image and a burger button will appear next to it: image
  • Click on the burger
  • Now, drag and drop the folder or files you want to move.
  • When you are pleased, click again on the burger to disable rearranging.
  • Keep the sort option on custom to keep your rearrange. If you want to return at any sort of Obsidian, just click again on the "move" icon and choose your sort.

Filtering

The file explorer can be filtered using fuse.js extended search syntax:

White space acts as an AND operator, while a single pipe (|) character acts as an OR operator. To escape white space, use double quote ex. ="scheme language" for exact match.

Token Match type Description
jscript fuzzy-match Items that fuzzy match jscript
=scheme exact-match Items that are scheme
'python include-match Items that include python
!ruby inverse-exact-match Items that do not include ruby
^java prefix-exact-match Items that start with java
!^erlang inverse-prefix-exact-match Items that do not start with erlang
.js$ suffix-exact-match Items that end with .js
!.go$ inverse-suffix-exact-match Items that do not end with .go

White space acts as an AND operator, while a single pipe (|) character acts as an OR operator.

Installation

  • Using BRAT with https://github.com/mara-li/obsidian-bartender → Or copy and open obsidian://brat?plugin=mara-li/obsidian-bartender in your explorer or browser. It will automatically open Obsidian and install the plugin.
  • From the release page:
    • Download the latest release
    • Unzip obsidian-bartender.zip in .obsidian/plugins/ path
    • In Obsidian settings, at "Community Plugin", reload the plugin list
    • Enable the plugin (or reload it if already installed)

Compatibility

Some plugins will cause bug to this plugin. You can try to force the loading of Bartender after them to prevents issues.

The best way is to use Lazy plugin loader and set bartender to load at short (other must be instant).

If anyone know what are the plugins that cause issues, please let me know and I will add a list here.

For the moment, plugin that can maybe (not sure) cause issues, are:

Credit


Discord server support

About

Allows for rearranging the elements in the status bar and sidebar ribbon

Resources

Stars

Watchers

Forks

Languages

  • TypeScript 78.3%
  • JavaScript 13.5%
  • CSS 8.2%