Tab Title Customization

approved

by Bridger Herman

Provides customization options for tab titles, including truncation, adding file extensions, and paths. - This plugin has not been manually reviewed by Obsidian staff.

18 downloadsUpdated 5d agoMIT

Tab Title Customization

Introduction

This plugin provides a means to customize the tab titles in the Obsidian editor.

Obsidian provides a "breadcrumb" path inside each file. But, this is not particularly useful for disambiguating multiple files with the same name and different paths. In my case (using Obsidian to create university course websites), I have many files named the same thing across my vault; for example:

  • class1/documents/Syllabus.md
  • class2/documents/Syllabus.md
  • class3/documents/Syllabus.md
  • class4/documents/Syllabus.md

In my workflow, I found it annoying to double-check the breadcrumbs in files, so I created this plugin!

Related Plugins and Posts

This exact request seems to be rare in the Obsidian community. There have been a few posts that ask for this feature, and few related plugins but none that actually address the core issue.

Screenshots

Screenshot of Obsidian with the Tab Titles plugin enabled and using default settings:

Screenshot with tab titles plugin enabled - the hierarchical structure of the notes is shown

Without the plugin enabled:

Screenshot without tab titles plugin enabled

Plugin Settings

To adjust the settings, open Obsidian settings and go to the settings for the "Tab Titles" plugin under "Community Plugins".

  • Show File Extensions: Show file extensions in the tab titles in addition to the full file path.
  • Show Leading Slash: Show the leading slash for paths displayed in tab titles.
  • Enable Truncation: Enable or disable truncating tab titles at a specific number of characters. This replaces Obsidian's default truncation behavior, which truncates tab titles at the end of the title.
  • Max Tab Title Chars: Maximum number of characters in tab title. Any titles longer will be truncated.
  • Truncation Join Char: Character(s) to use when joining the front and back halves of a truncated title.
  • Show Path Separator in Truncation: Show the path separators as a part of the truncation characters

Installation (developer)

Follow the steps below to install the plugin (requires npm).

npm install
npm run dev

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.