Turn your vault into a lightweight IDE and code editor. Reveal hidden dotfiles, edit 70+ programming languages, live-preview HTML & SVG, and search & replace with zero bloat.
A lightweight code editor and hidden file manager for Obsidian.
Obsidian is where you think, write, and organize your knowledge. But the moment you need to tweak a Python script, check a .env file, or preview an HTML mock-up, you're usually forced to jump out to VS Code or another window.
Vault Code keeps you in flow. It turns your vault into a fast, focused developer workspace where you can view hidden dotfiles, edit code across 70+ languages, and live-preview HTML and SVG files—all while feeling completely native to your Obsidian theme.
Vault Code automatically adapts to your Obsidian display language: English, 繁體中文, 简体中文, 日本語, 한국어, Español, Français, Italiano, Deutsch, and Русский.
Open and edit scripts, data, and config files without leaving your vault.
.md file to Edit in code editor, or click the code icon (</>) in the tab header to switch instantly.Obsidian normally hides dotfiles from view. Vault Code lets you peek behind the curtain:
.gitignore, .env, .dockerignore, .github/, and other developer dotfiles right in your file explorer.Makefile, Dockerfile, LICENSE, and CNAME..git, node_modules, or custom patterns in settings to keep your sidebar tidy.Turn Obsidian into a playground for web designs and vector graphics:
Press Cmd / Ctrl + F (or Cmd / Ctrl + H to replace) for a familiar search panel:
1 of 14).Aa), whole-word matching (\b), and regular expressions (.*) with a single click.Right-click any file or folder in your file explorer to:
src/components/Button.tsx to create folders and files in one go..zip, .pdf, or binaries) safely selects them without unzipping archives or launching external OS apps.| Shortcut | Action | Where |
|---|---|---|
| Cmd / Ctrl + F | Find text | In code editor |
| Cmd / Ctrl + H | Find and replace | In code editor |
| Ctrl + G | Go to line | In code editor |
| Cmd / Ctrl + / | Toggle line comment | In code editor |
| Shift + Option / Alt + A | Toggle block comment | In code editor |
| Option / Alt + ↑ / ↓ | Move line up / down | In code editor |
| Shift + Option / Alt + ↑ / ↓ | Duplicate line up / down | In code editor |
| Cmd / Ctrl + Shift + K | Delete line | In code editor |
| Alt + Z | Toggle line wrapping | In code editor |
| Cmd / Ctrl + E | Toggle code / live preview | HTML & SVG files |
| Cmd / Ctrl + S | Save file | In code editor |
| Esc | Close search bar or dismiss popups | Anywhere |
Tailor Vault Code to your workflow in Settings → Community plugins → Vault Code:
...gitignore rules (e.g. node_modules/, .git/) to hide specific noisy folders.●).Vault Code.main.js, manifest.json, and styles.css from the latest GitHub Release.vault-code inside your vault's .obsidian/plugins/ directory..obsidian/plugins/vault-code/.Brought to you by SPACESODA under the GNU AGPLv3 License.