obsidian: support existing vaults and rename Concepts to Knowledge - #21
Merged
krishna-bala merged 2 commits intoSep 24, 2026
Merged
Conversation
Seeding a vault that already had an .obsidian/ skipped every settings file, so vim mode, hotkeys and the plugin list never took effect. The pack's settings files and .obsidian.vimrc are now reset on every run: a differing file is backed up under $XDG_STATE_HOME/seed-vault/ and replaced. Settings the pack does not ship are left alone, and starter content (AGENTS.md, Home.md, .gitignore) is still only added when missing. The script refuses to run while Obsidian is open, since Obsidian would write its in-memory settings back over the new files. Folders are now Concepts, Projects, References, Archive, Templates and _Inbox. attachments/ and references/people/ are gone; attachments go next to the note again. The README says plugins only appear after they are installed from the community browser, which the pack does not do.
Knowledge/ reads better than Concepts/ for notes you worked out yourself (ideas, mental models, lessons), especially outside a theory vault. References/ stays for information recorded from outside, and AGENTS.md's filing test now names all three folders.
krishna-bala
force-pushed
the
krishna.obsidian.existing-vaults-and-knowledge
branch
from
September 23, 2026 21:45
4df2989 to
a6c3fbf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #20, from running
seed-vaulton an existing vault on a new machine..obsidian/skipped every settings file, so vim mode, hotkeys and the plugin list never took effect. The pack's settings files (.obsidian/*.json, the snippet, per-plugindata.json,.obsidian.vimrc) are now reset on every run. A file that differs is backed up to~/.local/state/seed-vault/<vault>-<timestamp>/first. Settings the pack does not ship (workspace.json, other plugins) are left alone, andAGENTS.md,Home.mdand.gitignoreare still only added when missing.Projects/,Knowledge/,References/,Archive/,Templates/and_Inbox/.Concepts/is renamed toKnowledge/, andattachments/andreferences/people/are gone (attachments go next to the note). Templater, the new-note location,Home.mdandAGENTS.mduse the new names.Testing
_InboxandTemplates.app.json: backed up and replaced.workspace.jsonandAGENTS.md: both left alone.[skip]lines.shellcheck -S warningpasses.🤖 Generated with Claude Code