My Typewriter Line

approved

by dmo-code

Keep the active line in focus with customizable top and bottom scroll padding for typewriter-like editing.

500 downloadsUpdated 4mo agoMIT
View on GitHub

My Typewriter Line

License: MIT Open Issues Stars Obsidian Plugin

My Typewriter Line is an Obsidian plugin that lets you set custom top and bottom scroll padding in the editor, so your active line always stays in focus—just like a typewriter. Perfect for distraction-free, focused writing.

Note: This plugin exclusively provides this single function (dynamic scroll padding adjustment via slider).

Features

  • Set custom top and bottom scroll padding (in vh) via a single horizontal slider
  • Bottom value is automatically calculated (always 100 minus top)
  • Keeps your cursor/active line centered or at your preferred position while typing
  • Simple, distraction-free writing experience

Installation

From Obsidian Community Plugins

  1. Open Obsidian and go to Settings → Community plugins.
  2. Click on Browse and search for My Typewriter Line.
  3. Click Install and then Enable.

Manual Installation

  1. Download the latest main.js, manifest.json, and styles.css from the Releases page.
  2. Place these files in a new folder named my-typewriter-line inside your vault's .obsidian/plugins/ directory.
  3. Restart Obsidian and enable the plugin in Settings → Community plugins.

Usage

  1. Go to Settings → My Typewriter Line.
  2. Adjust the Top scroll position (vh) using the horizontal slider. The Bottom scroll position is automatically set so that both always add up to 100.
  3. Your active line will now stay at your preferred vertical position while you type.

Setup

Plugin Setup


Support & Feedback

  • For issues or feature requests, open an issue on GitHub.

Developer Build Instructions

If you want to build the plugin yourself:

  1. Make sure you have Node.js installed.
  2. Run npm install.
  3. Run npm run build to produce the build in the dist folder.
    The manifest.json and styles.css are copied to dist/ automatically.
  4. Copy main.js, manifest.json, and styles.css from dist/ to your Obsidian plugins folder: .obsidian/plugins/my-typewriter-line.

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.