Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

MamoruDS/obsidian-open-link-with

Repository files navigation

obsidian-open-link-with

all downloads latest release

Choose your own way to open external links.

Installation

Manual installation

Download zip archive from releases page. Extract the archive into <your vault>/.obsidian/plugins Enable Open Link With under Settings > Community plugins > Installed Plugins

Usage

Select which browser you want to open external link with in plugin's setting menu.

Customization

Put your custom profile in plugin's settings menu. Profile should contain name(string): commands(string[]) which is demonstrated in the following: PS. If the name in the user defined profile is same as the preset, it will be ignored.

Examples:

For MacOS
{
    "waterfox": [
        "/Applications/Waterfox.app/Contents/MacOS/waterfox"
    ],
    "waterfox-private": [
        "/Applications/Waterfox.app/Contents/MacOS/waterfox",
        "--private-window"
    ]
}
For Windows
{
    "opera": [
        "c:/Users/mamoru/AppData/Local/Programs/Opera/launcher.exe"
    ],
    "opera-private": [
        "c:/Users/mamoru/AppData/Local/Programs/Opera/launcher.exe",
        "--private"
    ]
}

Modifier key bindings

The plugin supports multiple open settings by binding modifier key after version 0.1.5. You can set the modifier key bindings to match your personal preferences through the plugin's settings menus.

By default, any modifier key and any mouse button (left or middle button) click will use the global browser, i.e. the browser profile selected in the setting Browser. You can create a custom modifier binding by clicking the New button and setting whether the binding is triggered only by middle mouse button clicks. You can create multiple bindings to personalize the plugin's behavior, and the bindings will be matched from top to bottom.

For example, in the above setting, the link will be opened by chrome when shift is pressed and the middle mouse button is clicked; the link will be opened by safari when shift is pressed and the left mouse button is clicked; in other cases, it will be opened by global browser firefox.

Changelog

link of changelogs.