Skip to content

plax-00/endscroll.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

endscroll.nvim

A simple plugin to make Neovim naturally scroll through the end of files. Uses the value of scrolloff to continue scrolling as if there were more lines below the last line.

demo.mp4

Getting started

Install

Using lazy.nvim:

{
  'plax-00/endscroll.nvim',
  opts = {},
}

Using vim-plug:

Plug 'plax-00/endscroll.nvim'
lua require('endscroll').setup {}

Settings

These are the default settings. Any changes can be made in the call to setup.

-- default settings
require('endscroll').setup {
    scroll_at_end = true,     -- pressing j on the last line keeps scrolling the screen
    disabled_filetypes = {    -- list of filetypes for which this extension will be disabled
        'dashboard',
        'lazy',
        'noice',
        'NvimTree',
        'neo-tree',
    },
}

About

Make Neovim scroll through the end of files

Topics

Resources

License

Stars

Watchers

Forks