-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
Installing Typewriter.nvim is straightforward and can be done using popular package managers like Packer and Lazy.nvim. Follow the instructions below to get started:
Packer is a popular package manager for Neovim. If you haven't installed Packer yet, you can do so by following the instructions on its GitHub page.
-
Add Typewriter.nvim to your Packer configuration:
Open your
init.lua
orinit.vim
configuration file and add the following lines:use { 'joshuadanpeterson/typewriter', config = function() require('typewriter').setup() end }
-
Install the plugin:
After adding the above lines, run the following command in Neovim to install the plugin:
:PackerSync
Lazy.nvim is another efficient package manager for Neovim. If you haven't installed Lazy.nvim yet, you can do so by following the instructions on its GitHub page.
-
Add Typewriter.nvim to your Lazy.nvim configuration:
Open your configuration file (typically
~/.config/nvim/lua/plugins/init.lua
) and add the following lines:local lazy = require('lazy') lazy.setup({ -- Other plugins... { 'joshuadanpeterson/typewriter', config = function() require('typewriter').setup() end, opts = {} }, })
-
Install the plugin:
After adding the above lines, restart Neovim, and Lazy.nvim will automatically install the plugin.
By following these installation instructions, you can easily set up Typewriter.nvim with either Packer or Lazy.nvim. Once installed, you can begin enjoying a focused and distraction-free writing experience in Neovim.
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.