diff --git a/data/nvim/init.lua b/data/nvim/init.lua index 3727f5f..714debe 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -34,6 +34,7 @@ end -- Mouse support vim.opt.mouse = "a" vim.opt.mousemodel = "extend" +vim.opt.mousescroll = "ver:8,hor:6" -- Workaround -- https://github.com/neovim/neovim/issues/16416 @@ -56,9 +57,20 @@ vim.keymap.set("n", "n", "nzz") vim.keymap.set("n", "N", "Nzz") vim.keymap.set("n", "{", "{zz") vim.keymap.set("n", "}", "}zz") + +-- Conflict with QMK Space Cadet vim.keymap.set("n", "(", "") vim.keymap.set("n", ")", "") +-- Disable scrolling +-- https://neovim.io/doc/user/scroll.html +vim.keymap.set("n", "", "") +vim.keymap.set("n", "", "") +vim.keymap.set("n", "", "") +vim.keymap.set("n", "", "") +vim.keymap.set("n", "", "") +vim.keymap.set("n", "", "") + -- https://github.com/folke/lazy.nvim local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then