From f8933d28944d9e38249a1b57c6a92b5b577d3a0f Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Thu, 22 Aug 2024 11:29:28 -0400 Subject: [PATCH] Also add the obsidian commands to the lazy sample in the README. (Otherwise as-is, with suggesting lazy = true, running e.g. :ObsidianQuickSwitch will not work until opening a markdown file.) --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index d5d382b62..5171b8829 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,30 @@ return { -- "BufReadPre path/to/my-vault/*.md", -- "BufNewFile path/to/my-vault/*.md", -- }, + cmd = { + "ObsidianOpen", + "ObsidianNew", + "ObsidianQuickSwitch", + "ObsidianFollowLink", + "ObsidianBacklinks", + "ObsidianTags", + "ObsidianToday", + "ObsidianYesterday", + "ObsidianTomorrow", + "ObsidianDailies", + "ObsidianTemplate", + "ObsidianSearch", + "ObsidianLink", + "ObsidianLinkNew", + "ObsidianLinks", + "ObsidianExtractNote", + "ObsidianWorkspace", + "ObsidianPasteImg", + "ObsidianRename", + "ObsidianToggleCheckbox", + "ObsidianNewFromTemplate", + "ObsidianTOC", + }, dependencies = { -- Required. "nvim-lua/plenary.nvim",