Update Title on Rename

approved

by fz

This plugin has not been manually reviewed by Obsidian staff. Automatically keep your frontmatter title in sync when renaming files, updating it to match the new filename while preserving any custom titles you've set.

32 downloadsUpdated 10d agoMIT

Update Title on Rename

Keeps the frontmatter title property in sync when you rename a file, but only if the title matches the previous filename, so custom titles are left alone.

Also has options to always keep the title in sync, add a title property when renaming a file, and change which property key is used.

Installation

Community plugins

  1. Open Settings → Community plugins and select Browse
  2. Search for Update Title on Rename
  3. Select Install, then Enable

BRAT

  1. Install BRAT from the community plugins
  2. Open Settings → BRAT and select Add beta plugin
  3. Enter https://github.com/r3Fuze/obsidian-update-title-on-rename
  4. Enable the plugin in Settings → Community plugins

Manual

Download main.js and manifest.json from the latest release and place them in <vault>/.obsidian/plugins/update-title-on-rename/.

Settings

SettingDefaultDescription
Title property nametitleFrontmatter key used to store the file title
Add title to frontmatteroffAdds the title to frontmatter on rename, if no title exists
Always update the titleoffUpdates the title even if it doesn't match the previous filename. Overwrites custom titles

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.