Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Default View Mode

Sun ZhenyuSun Zhenyu176 downloads

Set a default view mode (reading or editing) for each note via frontmatter.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates5

Set a default view mode — read or edit — for each note individually via frontmatter. Open your homepage in read view, your daily notes in edit view, and everything else however you like.

Features

  • Per-note default view — each note remembers its preferred view mode through a simple frontmatter field
  • Automatic switching — the view switches as soon as you open a note, no extra clicks
  • Command palette support — three commands to set or clear a note's default view without leaving the keyboard
  • Zero-config — no settings tab, no global toggles; everything is controlled at the note level

How It Works

The plugin reads a view-mode key from each note's YAML frontmatter. When you open a note, it checks the key and switches to the matching view. If no key is set, Obsidian's default behavior is left unchanged.

---
view-mode: read
---

Commands

Command Description
Set view-mode: read Adds view-mode: read to the active note's frontmatter
Set view-mode: edit Adds view-mode: edit to the active note's frontmatter
Clear view-mode Removes the view-mode key from the active note's frontmatter

Installation

Community Plugin Gallery

Once accepted, this plugin will be available in the Obsidian Community Plugin gallery.

Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Copy them into {vault}/.obsidian/plugins/default-view-mode/
  3. Reload Obsidian and enable the plugin under Settings → Community Plugins

Compatibility

  • Requires Obsidian 1.12.0 or later
  • Works on desktop and mobile

License

MIT

HealthExcellent
ReviewPassed
About
Set a per-note default view (read or edit) via a simple YAML frontmatter field. Switch to the configured view automatically when opening a note and manage per-note settings with three command-palette commands to set or clear the view. Keep global settings off and control view behavior directly in each note.
EditingPropertiesCommands
Details
Current version
1.0.5
Last updated
2 months ago
Created
3 months ago
Updates
5 releases
Downloads
176
Compatible with
Obsidian 1.12.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Sun ZhenyuSun Zhenyuco3mos
github.com/sunzyyu
GitHubsunzyyu
  1. Community
  2. Plugins
  3. Editing
  4. Default View Mode

Related plugins

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

MetaEdit

Manage your metadata.

Sort and Permute lines

Sort and Permute lines in whole file or selection.

Heading Shifter

Easily Shift and Change Markdown headings.

Paste URL into selection

Paste URL "into" selected text.

Keyshots

Add classic hotkey/shortcuts commands from popular IDEs like Visual Studio Code or JetBrains Family.

Vimrc Support

Auto-load a startup file with Vim commands.

Permalink Opener

Open URLs based on a permalink or slug in the note properties. Useful with static site generators such as Jekyll, Hugo, Eleventy, etc.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.