Skip to content

sarrisv/readermode.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readermode.nvim

Simple neovim plugin for keeping your cursor centered while reading through code/text/whatever

demo.mp4

Requirements

  • Neovim v0.7.0+

Setup

lazy.nvim

{
  'sarrisv/readermode.nvim',
  opts = { --[[ Configurations Options ]] }
}

Configuration

  {
    enabled = false, -- Turned off by default
    keymap = "<leader>R" -- Keymap used to toggle ReaderMode on/off
  }

Usage

Toggle ReaderMode using :ReaderMode or the provided normal mode keymapping

Credits

Inspired by this stackoverflow answer from user pip

About

Simple nvim plugin for keeping your cursor centered

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages