Change settings via command prompt

I am wondering what plug-ins exist for making navigation of settings faster.

The plugin Settings Search adds a search bar inside the settings pane, but I would rather jump to different settings sub-menus from the command prompt.

I would also like to be able to toggle settings from the command prompt, like enabling or disabling a plug-in.

How can I interact with settings faster?

You can use Advanced URI community plugin to enhance/speed up settings interactions but currently this is limited to settings navigation, updating plugins (all) and enabling/disabling a plugin. If you want to achieve more, contribute to the plugin development.

Examples (mac):

# enable Calendar plugin
open "obsidian://adv-uri?enable-plugin=calendar"
# disable Calendar plugin
open "obsidian://adv-uri?disable-plugin=calendar"
# open community plugins
open "obsidian://adv-uri?settingid=community-plugins"
# open hotkeys
open "obsidian://adv-uri?settingid=hotkeys" 
# navigate to editor–>behavior
open "obsidian://adv-uri?settingid=editor&settingsection=Behavior"

More: https://publish.obsidian.md/advanced-uri-doc/Actions/Settings+navigation

You can integrate these shell commands to Obsidian commands using Shell commands community plugin. In PowerShell (windows) you replace open with Start-Process.

On mac you can use Shortcat to navigate the settings using keyboard.

1 Like

Thanks.

I use Obsidian on mobile a lot as well.

The URI plugin looks good.

Is there a way I can trigger those kinds of commands on mobile? Like do they get added to the command palette? Can I link chorded keyboard shortcuts to the command palette; like “jjj” triggers a URI command?

You can obviously use external links to trigger these actions. There is URI Commands plugin if you want to convert these actions to Obsidian commands. The plugin hasn’t been updated. On iOS you can use Shortcuts to launch URI actions. This is one of the main purpose how Obsidian URI is used because iOS Shortcuts are so powerful.

There is Chorded Hotkeys plugin although it triggers from the editor and not in the command palette.

1 Like