karb94/neoscroll.nvim

[Help] How to disable all of the default keymaps and manually define them

pidgeon777 opened this issue · 1 comments

What I wanted to achieve, is to disable all of the neoscroll.nvim mappings, and instead manually map the keys to the commands I want.

Does a way of doing that exist?

As explained in :h neoscroll-options one can disable all mappings by passing an empty table ({}) to the mappings options. So the setup() function would look something like this:

require('neoscroll').setup({
    mappings = {}
})