Skip to content

:obcommand does not work when .obsidian.vimrc is not present in $VAULT_ROOT #89

@webdog

Description

@webdog

👋

Thank you for this plugin!

I noticed that when enabling the plugin, but not creating a vimrc file after installation, :obcommand does not work. An error is returned in the gutter: ":obcommand is not an editor command`

By creating an empty .obsidian.vimrc file, obcommand is expected.

In the Usage section, it's mentioned to create the vimrc to persist mappings, but I didn't understand this as the plugin-specific command wouldn't work unless the rc file was loaded.

From having other obsidian plugins installed, I wasn't expecting to need to create an rc file right away to have functionality. Other plugins seem to work without specifying a config file, in previous experiences.

Again thank you for this plugin, it's very useful 😸

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions