First Line is Title

pending

by churnish

Automatically set the first line as note title.

22 starsUpdated 3mo agoGPL-3.0Discovered via Obsidian Unofficial Plugins
View on GitHub

English • Русский

First Line is Title

Automatically set the first line as note title, just like in Apple Notes! Forget about manual file name entry or nondescript timestamps.

[!TIP] The plugin is best used with the tab title bar and/or inline title enabled in Obsidian settings → Appearance → Interface.

Key features

  • Rename notes automatically or manually.
  • Move cursor to first line on note creation.
  • Put any first line content in title or headings only.
  • Replace characters forbidden in file names with safe alternatives, or omit them entirely.
  • Strip Markdown syntax from file names.
  • Add custom replacement rules.
  • Automatically populate first line alias property — make forbidden characters searchable in Quick switcher and link suggester, or set as note title in plugins like Quick Switcher++, Omnisearch, Notebook Navigator and Front Matter Title.
  • Commands to batch rename all notes in folder, all notes with tag, all search results, or entire vault.
  • Automatically insert file name in first line on note creation.
  • Exclude select notes, folders, tags, properties or file names from renaming, or only enable renaming in some.
  • Command to convert selection containing forbidden characters into valid internal link, with original text preserved in link caption.

File integrity

  • Only notes that are currently open in the editor are processed, along with any notes you explicitly select for batch operations (like renaming all notes in a folder).
  • By default, note modification time is preserved on rename.
  • Multiple safeguards are in place to prevent unintended changes but regular backups remain your ultimate safety net.

Commands

Ribbon

CommandDescription
 Put first line in titleRename active note, even if in excluded folder or with excluded tag or property.
 Put first line in title in all notesRename all notes in vault except if in excluded folder or with excluded tag or property.
 Toggle automatic renamingToggle the Rename notes setting between Automatically and Manually.

Command palette

CommandDescription
 Put first line in titleRename active note, even if in excluded folder or with excluded tag or property.
 Put first line in title (unless excluded)Rename active note except if in excluded folder or with excluded tag or property.
 Put first line in title in all notesRename all notes in vault except if in excluded folder or with excluded tag or property.
 Toggle automatic renamingToggle the Rename notes setting between Automatically and Manually.
 Disable renaming for noteExclude active note from renaming.
 Enable renaming for noteStop excluding active note from renaming.
 Add safe internal linkCreate internal link with forbidden characters handled as set in Replace characters.
 Add safe internal link with captionCreate internal link with forbidden characters handled as set in Replace characters, and with original text in caption.
 Add internal link with caption and custom targetCreate internal link with selected text in caption. Set link path manually.
 Insert file name at cursor positionInsert current file name at cursor position. Convert forbidden character replacements back to their original forms, as set in Replace characters.

File, folder, tag and vault search context menu

CommandDescription
 Put first line in titleRename selected note(s).
 Disable renamingExclude selected note(s), folder(s) or tag from renaming.
 Enable renamingStop excluding selected note(s), folder(s) or tag from renaming.

Installation

Until First Line is Title is made available in the plugin directory, to install it:

  1. Download and enable the BRAT plugin.
  2. Install via BRAT.
  3. Select Add plugin.
Install manually

Note: To get updates for First Line is Title, you will have to check for and install them manually.

  1. Download first-line-is-title.zip in the Assets of the latest release.
  2. Open the vault folder in the system file manager.
  3. Open your Obsidian configuration folder (.obsidian by default, hidden on most OSes).
  4. Unzip first-line-is-title.zip and place it in the plugins folder.
  5. Reload plugins or app.
  6. Enable First Line is Title in Obsidian settings → Community plugins → Installed plugins.

Support

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.