Skip to content

Obsidian plugin that show modal before creating new file to bind notes and MOC

License

Notifications You must be signed in to change notification settings

sniper-fly/MOC-ModalBinder

Repository files navigation

README.ja.md

MOC Modal Binder - Obsidian Plugin

demo.mp4

A plugin for Obsidian that helps you organize your notes by automatically linking new files to MOC (Map of Content) files and inheriting tags. This plugin is inspired by the LYT (Linking Your Thinking) method, which uses MOCs as "linking hubs" to connect related notes.

Learn more about LYT and MOCs:

Features

  • MOC File Selection: When creating a new file, a modal appears allowing you to select which MOC files to link to
  • Tag Inheritance: Automatically inherits tags from selected MOC files
  • Auto Linking: Creates backlinks from selected MOC files to the new file
  • Keyboard Navigation:
    • Use arrow keys (↑↓) to navigate
    • Press Enter to toggle selection
    • Ctrl+Enter to apply selection
    • Esc to close modal
  • Search Filter: Quickly find MOC files by name
  • Auto Bind Setting: Option to automatically show modal when creating new files

Installation

  1. Go to Settings → Community plugins
  2. Disable Safe Mode (if enabled)
  3. Browse community plugins and search for "MOC Modal Binder"
  4. Install and enable the plugin

Usage

  1. For MOC files:

    • Add MOC tag in the frontmatter of files you want to use as MOC files
    • Example:
      ---
      tags: [MOC, topic1, topic2]
      ---
  2. For new files:

    • Create a new file
    • Select MOC files to link to in the modal
    • The new file will:
      • Be linked from selected MOC files
      • Inherit tags from selected MOC files (excluding the MOC tag itself)
  3. For existing files:

    • Use the "Open MOC Selector" command from the command palette
    • Select MOC files to link to the currently active file

Settings

  • Auto Bind: Toggle whether the modal appears automatically when creating new files
    • Can be toggled via command palette or settings tab

License

MIT

About

Obsidian plugin that show modal before creating new file to bind notes and MOC

Resources

License

Stars

Watchers

Forks

Packages

No packages published