bwya773k downloadsOpens the left and/or right side panel by hovering over it.
Automatically expand and collapse the left/right or both sidebars when hovering over the edge of the window.
You can customize the following settings in the plugin options:
Here is the sidebar settings formatted in the requested table style:
| Setting | Description | Default |
|---|---|---|
| Left Sidebar Hover | Enables the expansion and collapsing of the left sidebar on hover. | Enabled |
| Right Sidebar Hover | Enables the expansion and collapsing of the right sidebar on hover. | Enabled |
| Sync Left and Right | Expands both sidebars simultaneously when one is hovered (requires both to be enabled). | Disabled |
| Overlay Mode | Sidebars slide over the main content instead of pushing it. | Disabled |
| Double Click Pin Sidebar | Double click to keep sidebar open. Double click again to unpin it | Disabled |
| Setting | Description | Default |
|---|---|---|
| Left Sidebar Pixel Trigger | Pixels from the left edge that trigger the sidebar to open on hover. | 20 |
| Right Sidebar Pixel Trigger | Pixels from the right edge that trigger the sidebar to open on hover. | 20 |
| Setting | Description | Default |
|---|---|---|
| Sidebar Collapse Delay | Delay in ms before the sidebar collapses after the mouse leaves. | 250 |
| Sidebar Expand Delay | Delay in ms before the sidebar expands after hovering. | 10 |
| Expand/Collapse Animation Speed | Speed of the sidebar expand/collapse animation in ms. | 375 |
| Setting | Description | Default |
|---|---|---|
| Left Sidebar Maximum Width | Maximum width in pixels for the left sidebar. | 325 |
| Right Sidebar Maximum Width | Maximum width in pixels for the right sidebar. | 325 |
.obsidian/plugins/quick-peek-sidebar/ directoryWant to contribute or modify the plugin? Here's how to get started with the source code:
Create a directory for your GitHub projects:
cd path/to/somewhere
mkdir Github
cd Github
Clone the repository:
git clone https://github.com/bwya77/obsidian-quick-peek-sidebar.git
Navigate to the plugin directory:
cd open-sidebar-on-hover
Install dependencies:
npm install
Start development build mode:
npm run dev
This command will keep running in the terminal and automatically rebuild the plugin whenever you make changes to the source code.
You'll see a main.js file appear in the plugin directory - this is the compiled version of your plugin.
To test your modifications:
.obsidian/plugins/ directoryMIT License. See LICENSE for full text.