I defined (added shortcut keys) this hotlink, because I mistook it for file-explorer:reveal-active-file (ADHD brain or something)
When I discovered it didn’t act correctly (for what I wanted), I found the “reveal” hotkey; it worked great, but that left me a bit confused about the “show”:
Since it doesn’t toggle, you would expect a corresponding close hotkey, which is way less ideal than a toggle, but still
So, what is it used for that isn’t covered? It does work, but reveal is of much more use to me (I would imagine to most) From searching, I wasn’t the only one expecting something different or more. Maybe just rename the “reveal” to this?
It’s the hotkey “show file explorer”, “reveal current file in navigation” will do the same but better. It may be a command, but I haven’t used it as such.
Okay just tried, they are all commands which I should know
Reveal just does more from what I can see. Is that correct or no? Would it not be able to replace"Show"? They both open the explorer, but reveal opens explorer to the current note
I guess, it does provide additional functionality, but it does seem rather minor, to me, especially without toggle and no corresponding close (I know the show/hide sidebar)
@Olondre That’s beyond my current understanding!
maybe you can add a pic. I’m still learning obsidian.
I am confused though, if you use the"show" to open, what do you use to close, or is that currently not possible with commands/hotkeys?
If I’m understanding your use case correctly, you just overrode a main reason toggle was denied as a feature (in the original links) because they said use sidebar
I would love if they would also just close the left sidebar again if me using that hotkey opened the sidebar in the first place, but otherwise I don’t see this as a problem.
I basically use the toggle left sidebar hotkey as close only and all the other hotkeys as a specific way to open the left sidebar and save some time (as in not needing to navigate to another tab in the tab group and have my desired destination open instantly).
You do know that you can put things in a tab group in the sidebar, right? Just like you do with normal tabs just drag & drop.
Yes it does. But that’s not always what you want, right?
For instance, if I have opened a specific folder hierarchy that I want quick access to I can move to that whenever I want via the show file explorer hotkey, no matter what I did in between as long as what I did made no change to the position in the file explorer.
Okay:
so “show file explorer” opens to the last cursor position vs. “reveal” opens to the current file. Whereas toggling the sidebar doesn’t change focus at all.
Maybe it’s just me, but the “show” still seems to bring fairly little extra, just focus. Now if it took an (optional) argument (directory or file), to me that would make it worthwhile, but I can see “focus” on last position in explorer being useful.
Yeah, I see value, it just seems to add more confusion because it doesn’t toggle or do anything else other than keep focus/position (above and beyond “reveal”). I haven’t tried having lots of stuff in the sidebar. I dragged a note and all it did was open it in the small sidebar.
If the sidebar allows multiple objects (which sounds like your use case), then a toggle would seem to be justified, because toggling the sidebar would close all of them instead of just the one you wanted.
At some point, I would like to play with templates, but I’m not there yet. Other priorities of course