Skip to content

Releases: cansar/obsidian-focus-plugin

v0.2.2: Fix content centering in focus mode

Choose a tag to compare

@cansar cansar released this 14 Jul 20:19

Fixed

  • Content now properly centers when focusing on one pane with multiple panes open
  • Previously, the active pane would remain side-aligned instead of centering

Files

  • main.js - Compiled plugin code
  • manifest.json - Plugin metadata
  • styles.css - Plugin styles

This release fixes the bug where content remained side-aligned instead of centering when using focus mode with multiple panes open.

Release v0.2.1: Single-pane focus functionality

Choose a tag to compare

@cansar cansar released this 14 Jul 19:40

🎯 Single-Pane Focus Functionality

This release adds the ability to hide all but the active pane when multiple panes are open side-by-side, restoring the behavior from the original fullscreen plugin without entering fullscreen mode.

✨ New Features

  • Single-pane focus: Only the active pane is visible when multiple panes are open side-by-side
  • Enhanced UI hiding: Comprehensive hiding of tabs, sidebars, and other UI elements
  • Toggle functionality: Easy on/off via command palette or keyboard shortcut

🔧 Technical Changes

  • Added hideInactiveLeaves() and showAllLeaves() methods to manage pane visibility
  • Uses iterateAllLeaves() to find and hide/show all workspace panes
  • Simplified CSS for better pane management
  • Enhanced documentation and code comments

📁 Installation

  1. Download the release files below
  2. Copy main.js, manifest.json, and styles.css to your vault's .obsidian/plugins/obsidian-focus-mode-plugin/ directory
  3. Enable the plugin in Obsidian Settings > Community plugins

🧪 Testing

Open multiple panes side-by-side and use the "Toggle focus mode" command to test the single-pane focus functionality.

🤖 Generated with Claude Code

Focus Mode Plugin v0.2.0

Choose a tag to compare

@cansar cansar released this 14 Jul 19:14

Transform fullscreen plugin into focus mode - hide UI elements without entering fullscreen mode.

Features

  • Hide sidebars, tabs, and UI elements
  • Toggle functionality via command palette
  • No fullscreen mode - keeps window controls
  • Clean, distraction-free writing experience

Installation

Download and extract the files to your vault's plugins folder:
.obsidian/plugins/obsidian-focus-mode-plugin/

Required Files

  • main.js (compiled plugin code)
  • manifest.json (plugin metadata)
  • styles.css (UI hiding styles)