Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Fix Tab Size

mnaoumovmnaoumov614 downloads

Fixes tab size according to the settings.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates10

This is a plugin for Obsidian that fixes tab size according to the settings.

As reported on the forum:

Obsidian has setting for tab size:

Tab size

But Obsidian partially ignores this setting and always inserts 4 spaces when you press Tab button in the editor, if you have setting Indent using tabs disabled.

This plugin fixes the editor tab size making it to match Indent visual width setting.

Installation

The plugin is not available in the official Community Plugins repository yet.

Beta versions

To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:

  1. Ensure you have the BRAT plugin installed and enabled.
  2. Click Install via BRAT.
  3. An Obsidian pop-up window should appear. In the window, click the Add plugin button once and wait a few seconds for the plugin to install.

Debugging

By default, debug messages for this plugin are hidden.

To show them, run the following command in the DevTools Console:

window.DEBUG.enable('fix-tab-size');

For more details, refer to the documentation.

Support

My other Obsidian resources

See my other Obsidian resources.

License

© Michael Naumov

83%
HealthExcellent
ReviewCaution
About
Fix editor tab insertion to match the Indent visual width setting. Make the Tab key insert the configured number of spaces when using spaces for indentation instead of always inserting four.
EditingFormatting
Details
Current version
1.2.7
Last updated
2 months ago
Created
7 months ago
Updates
10 releases
Downloads
614
Compatible with
Obsidian 1.12.4+
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
mnaoumovmnaoumov
mnaoumov.dev/
GitHubmnaoumov
Xmnaoumov
  1. Community
  2. Plugins
  3. Editing
  4. Fix Tab Size

Related plugins

List Callouts

Create simple callouts in lists.

Symbols Prettifier

Prettify the symbols with actual symbols you commonly type, like arrows.

Smart Typography

Convert quotes to curly quotes, dashes to em dashes, and periods to ellipses.

Number Headings

Automatically number or re-number headings.

Easy Typing

Auto format when typing.

Find and replace in selection

Find what you are looking for in the selected text and replace it with the specified text.

Typing Transformer

Improved, configurable auto formatting as typing.

Text Format

Format selected text upper/lower/capitalize.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Outliner

Work with your lists like in Workflowy or Roam Research.