New Hotkey: Toggle Visible/Hidden Properties

Use case or problem

I’m frequently going into settings to toggle the visibility of properties in a note. On most days, I prefer to have them hidden in the note, but shown in a side pane. This keeps a cleaner writing experience. But when I’m organizing things, I prefer to have them visible.

There is no hotkey to toggle the visibility of properties in a note.

Proposed solution

Add a single new hotkey.

2 Likes

There is the “Toggle fold properties in current file” command you could use.

Also this related request:

Thank you. That is indeed a functional workaround.

That said, I’m still advocating for a hotkey to match the “Properties in document” setting.

2 Likes

I fully support this.

3 Likes

I support

It’s such an obvious thing. Is it really so difficult to implement

I found such a solution for myself. Create a css file with the following content:

.metadata-container,
.cm-line:has(.cm-hmd-frontmatter) {
display: none !important; 
} 

It completely disables the visibility of properties.

Name it and send it to the snippets folder. Next, install the plugin: GitHub - deathau/snippet-commands-obsidian: Registers custom css snippets as commands (which you can bind hotkeys to) . Add a keyboard shortcut to your css file and enjoy life. I apologize in advance for my English.

Do not forget to go to the obsidian settings, appearance, css fragments and activate the created css file.