obsidian

package
v2.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EditorCommand

func EditorCommand(filePath string) *exec.Cmd

EditorCommand constructs an *exec.Cmd to launch the user's $EDITOR for filePath. Automatically appends "--wait" for GUI editors if not already specified.

func OpenInObsidian

func OpenInObsidian(vaultName, filePath string) error

OpenInObsidian shells out to the OS opener with an obsidian:// URI.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL