/yfix.nvim

Neovim plugin to keep the screen centered

Primary LanguageLua

yfix

Neovim plugin to keep the screen centered.

yfix.webm

Configure

The plugin needs to be initialised using

require('yfix').setup()

However you can pass in config options which default to:

{
  -- center y axis in insert mode
  insert_mode = true,
  -- center y axis in normal mode
  normal_mode = true,
}

Installation

Packer

use "vvvvv/yfix"
require("yfix").setup()