Fix Tab Size

by mnaoumov
5
4
3
2
1
Score: 35/100

Description

The Fix Tab Size plugin corrects a gap in the editor where pressing Tab can still insert four spaces even when your configured visual indent width says otherwise. It steps in when tabs are disabled and makes the inserted spacing follow the vault's indent width setting, so typing behaves the way the editor settings suggest it should. This makes indentation more consistent in notes that rely on spaces instead of hard tabs, especially when you care about layout in lists, code blocks, or structured text. The plugin stays focused on that one job.

Reviews

No reviews yet.

Stats

stars
983
downloads
0
forks
52
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Fix Tab Size

Buy Me a Coffee GitHub release GitHub downloads Coverage: 100%

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 available in the official Community Plugins repository.

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

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Settings Search
4 years ago by Jeremy Valentine
Adds a search bar to Obsidian.md's settings
New Tab Default Page
4 years ago by pseudometa
Obsidian plugin to open a note of your choice when creating a new tab, like in the browser.
Sync Graph Settings
4 years ago by Xallt
This is a plugin for syncing graph settings (Color Groups and Search Filters) to Local Graphs
External Link Opener
4 years ago by zorazrr
Obsidian plugin to open external links in modals or tabs
Restore Tab Key
3 years ago by jerrymk
An Obsidian plugin to make the tab key insert a tab, and make it feel like any other IDE regarding tabs and indentation.
Heading Level Indent
3 years ago by svonjoi
obsidian plugin for hierarchical structuration of document content based on heading levels
CodeBlock Tabs
3 years ago by Jemin Mau
Create tab group for contiguous codeblocks.
Mononote
3 years ago by Carlo Zottmann
An Obsidian plugin that ensures each note occupies only one tab. If a note is already open, its existing tab will be focussed instead of opening the same file in the current tab.
HTML Tabs
3 years ago by Patrick Tournet
Obsidian plugin allowing the creation and rendering of Tabs and tab panels in your notes.
Minitabs
3 years ago by ssjy1919
Obsidian tabs
Settings profiles
2 years ago by 4Source
This is a plugin for Obsidian (https://obsidian.md). Allows you to create various global settings profiles. You can sync them between different vaults. To keep all your settings in sync, you'll never have to manually adjust them again for every vault you have or create in the future.
Tab Shifter
2 years ago by Joshua Rozner
Tab Selector
2 years ago by namikaze-40p
This is an Obsidian plugin which can quickly switch tabs in various ways.
Settings Management
2 years ago by Huajin
Manage settings options, including show enabled/disabled plugins and css, grid layout, save current plugins/css enable config for quick enable/disable, etc.
Shrink pinned tabs
2 years ago by Nicolas Lœuillet
Obsidian plugin to shrink pinned tabs in order to save screen space
Vimrc Support
6 years ago by esm
A plugin for the Obsidian.md note-taking software
Tab Switcher
6 years ago by Vinzent & phibr0
Tab Switcher - Obsidian Plugin
Hotkey Helper
5 years ago by PJ Eby
Easily see and access any Obsidian plugin's options pane or hotkey assignments (including conflicts) from the Community Plugins tab
Tab Limiter
2 years ago by Henry Gustafson
Limits the number of tabs that can be opened in Obsidian
Autofit Tabs
a year ago by Bradley Wyatt
Obsidian Plugin that automatically adjusts tab header widths in real-time to perfectly fit each tab's title content while maintaining a clean, seamless interface that prevents awkward text truncation and ensures optimal readability of your document titles.
Emoji Picker
a year ago by Ali Faraji
An up-to-date Emoji Picker for obisian.md, using emoji-mart.
Tab Group Arrangement
a year ago by situ2001
Arrange the tab groups of Obsidian in a more flexible way
Wheel Tab Switcher
a year ago by 22-2
Switch between Obsidian Tabs using your mouse wheel when hovering over tab headers.
Smooth Navigator
a year ago by Michael Schrauzer
Smoothly cycle through open files and splits in Obsidian via the keyboard.
Format Automatically with Prettier
a year ago by Dylan Armstrong
Format with Prettier using built-in settings for Obsidian
Simple Tab Indent
a year ago by Thiago Frias
Tree Diagram
a year ago by limpido
An Obsidian plugin that converts tab-indented text to a tree diagram.
Scrolling
a year ago by omeyenburg
Obsidian plugin to keep your cursor centered, disable code wrapping, remember position in a file, and more.
Tab File Path
10 months ago by John Burnett
Mobile Sidebar Notes
8 months ago by Chris Kephart
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Disable Tabs
6 months ago by David V. Kimball
Disables having more than one tab open at a time Obsidian.
Auto Math
3 months ago by Vladislav Sorokin
Auto-expands LaTeX snippets. External rules with live reload, Custom Rules Editor, and default math pack.
Path in tab title
2 months ago by d9k
This plugin has not been manually reviewed by Obsidian staff. Show folders names in the tabs titles.