| .github/workflows | ||
| src | ||
| .gitignore | ||
| esbuild.config.mjs | ||
| eslint.config.mts | ||
| LICENSE | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.ko.md | ||
| README.md | ||
| styles.css | ||
| tsconfig.json | ||
| versions.json | ||
View Mode Lock
English | 한국어
Lock Obsidian notes to Reading, Live Preview, or Source mode.
Features
- Lock every Markdown note to Reading view.
- Choose separate locking behavior for desktop, tablet, and phone.
- Create rules by folder, tag, or property value.
- Override rules for individual notes.
- Works on desktop, mobile, and tablet.
- Uses Korean when Obsidian's app language is Korean; otherwise uses English.
- Uses Obsidian's metadata cache to stay lightweight.
Usage
Open Settings → View Mode Lock.
- Enable Lock all Markdown notes to make Reading view the default for every note.
- Choose whether each device follows the rules, always uses Reading view, or disables locking.
- Add a rule to select a folder, tag, or property value and its locked view mode.
- Suggested folders, tags, properties, and property values appear while typing.
Folder rules include subfolders. If multiple rules match, the first matching rule is used.
Device behavior
Configure desktop, tablet, and phone independently:
| Option | Result |
|---|---|
| Follow existing rules | Use note overrides, rules, and the global lock |
| Always use Reading view | Lock every note to Reading view on this device |
| Disable locking | Allow view mode changes on this device |
Language
View Mode Lock follows the language selected in Obsidian → Settings → General → Language. It uses Korean when Obsidian is set to Korean and English for every other language. The system language is not used.
Note-level override
Add view-mode-lock to a note's properties:
view-mode-lock: reading
Supported values:
| Value | Result |
|---|---|
reading |
Lock to Reading view |
live-preview |
Lock to Live Preview |
source |
Lock to Source mode |
off |
Exempt the note from general rules when the device follows existing rules |
The property name can be changed in the plugin settings.
Priority
- Device behavior
- Note-level override when following existing rules
- Folder, tag, and property rules
- Global Reading lock
Commands
- Toggle lock for current note: switches the current note between
readingandoff. - Toggle global reading lock: enables or disables the global lock.
Assign shortcuts in Settings → Hotkeys. No default shortcuts are included.
Manual installation
Copy these files into .obsidian/plugins/view-mode-lock/:
main.jsmanifest.jsonstyles.css
Then reload Obsidian and enable View Mode Lock under Community plugins.
Development
npm install
npm run build
npm run lint
License
MIT © 2026 GOODJINC