-
Notifications
You must be signed in to change notification settings - Fork 0
Media
In this Reddit post, I discuss the initial release of typewriter.nvim, a Neovim plugin that keeps the cursor centered on the screen for a focused writing experience. The plugin integrates seamlessly with ZenMode and True Zen, making it perfect for distraction-free writing. Inspired by stay-centered.nvim and other tools, typewriter.nvim is easy to install and control with commands like :TWEnable
and :TWDisable
.
In this Reddit post, I discuss the new features added to typewriter.nvim. These include the :TWTop
and :TWBottom
commands for aligning code blocks with the top or bottom of the screen, respectively. Additionally, a customizable keep_cursor_position
option was introduced, allowing the cursor to maintain its relative position within the text when using commands like :TWCenter
, :TWTop
, and :TWBottom
. These updates enhance the plugin’s ability to provide a distraction-free environment and improve navigation based on user feedback. You can also enable notifications to get feedback in Noice or Notify about the state of the plugin.
In this latest Reddit post, I introduce a major update to typewriter.nvim: Horizontal Scrolling. This new feature was inspired by and addresses Issue #3. With the new enable_horizontal_scroll
configuration option, users can now enable or disable horizontal scrolling in Typewriter mode, ensuring the cursor stays horizontally centered on the screen, emulating the movement of a typewriter.
To enable the new horizontal scrolling feature, add the following to your setup configuration:
require('typewriter').setup({
enable_horizontal_scroll = true,
-- other options...
})
As always, typewriter.nvim continues to integrate seamlessly with ZenMode and True Zen, and uses Tree-sitter for intelligent code block detection across various programming languages.
This is the first outside media mention of the plugin. Dotfyle's This Week In Neovim is a "weekly newsletter with updates from the Neovim ecosystem, including Neovim core and the plugin community."
This blog post, and subsequent YouTube video, go over a developer's Neovim config, outlining "the plugins, tips and tricks" they use for taking Markdown notes in Neovim. Typewriter gets a mention in the section on stay-centered.nvim, which is one of several plugins that inspired its creation.
For more details about the new features and future updates, check out the GitHub Repo and join the discussion on Reddit.
Thank you for exploring the Typewriter.nvim documentation. We hope you find this plugin enhances your writing and coding experience in Neovim. If you have any questions, suggestions, or contributions, please feel free to reach out or submit an issue on our GitHub repository.
Stay Connected:
Crafted with care by Josh Peterson.