๐Ÿ“ฆ situ2001 / obsidian-tab-group-arrangement

Arrange the tab groups of Obsidian in a more flexible way

โ˜… 12 stars โ‘‚ 0 forks ๐Ÿ‘ 12 watching โš–๏ธ MIT License
editorobsidianobsidian-pluginplugin
๐Ÿ“ฅ Clone https://github.com/situ2001/obsidian-tab-group-arrangement.git
HTTPS git clone https://github.com/situ2001/obsidian-tab-group-arrangement.git
SSH git clone git@github.com:situ2001/obsidian-tab-group-arrangement.git
CLI gh repo clone situ2001/obsidian-tab-group-arrangement
situ2001 situ2001 chore: remove outdated screen recording file 69f2497 1 years ago ๐Ÿ“ History
๐Ÿ“‚ 69f2497324c3f7787fdb13558aaf22a4e88c248c View all commits โ†’
๐Ÿ“„ .editorconfig
๐Ÿ“„ .eslintignore
๐Ÿ“„ .eslintrc
๐Ÿ“„ .gitignore
๐Ÿ“„ .npmrc
๐Ÿ“„ esbuild.config.mjs
๐Ÿ“„ LICENSE
๐Ÿ“„ main.ts
๐Ÿ“„ manifest.json
๐Ÿ“„ package.json
๐Ÿ“„ pnpm-lock.yaml
๐Ÿ“„ README.md
๐Ÿ“„ screenshot.png
๐Ÿ“„ styles.css
๐Ÿ“„ tsconfig.json
๐Ÿ“„ version-bump.mjs
๐Ÿ“„ versions.json
๐Ÿ“„ README.md

obsidian-editor-group-arrangement

Arrange your editor group in a more flexible way.
screenshots

Introduction

This is a plugin for Obsidian, which provides a way to arrange the editor group in a more flexible way. Currently, the plugin supports the following features:

  • Arrange action
  • Arrange evenly: this action will arrange the editor group evenly.
  • Expand active editor: this action will expand the active editor, and shrink the other editors to the minimum size. Just like what vscode does.
  • Arrange Mode
  • Manual: Do nothing.
  • Auto Expand: Automatically expand the active editor when the active editor is changed or when you click on the editor tab.

How to use

  • Install and enable the plugin.
  • Then you can make actions and switch modes from
  • The status bar. You can find a clickable icon with tooltip Editor Group Arrangement when you hover on it.
  • The command palette. Just type Editor Group Arrangement and you will find the commands.
  • Enjoy!

Limitations

  • The plugin is still in the early stage, so there might be some bugs.
  • In some cases, after switching mode to auto expand, you should change the active editor or click on the editor tab to trigger the expand action.

TODOs

  • Write the README
  • Fix some bugs that impact the basic functionality
  • Use slider component for the min size for expand mode
  • Support ratio mode, for example, 3:1, 1:2:1, 1:1:1:1 etc.
  • Support ratio mode from UI. For example, user can drag the border/input ratio to change the ratio of the editor group.
  • Support custom arrangement mode, by the workspace layout state provided by user. For example, the plugin can read the root split state from workspace layout, and then apply the arrangement to the editor group without replacing the open editors.