From 56d110a6a2da0e63a6b04047e33296b9405538e2 Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Fri, 29 Dec 2023 22:43:20 +0300 Subject: [PATCH] nvim config --- configs/nvim/lua/config/keymaps.lua | 2 +- configs/nvim/lua/config/options.lua | 2 ++ configs/nvim/lua/plugins/mrflos.lua | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configs/nvim/lua/config/keymaps.lua b/configs/nvim/lua/config/keymaps.lua index 2c134f7..09847a4 100644 --- a/configs/nvim/lua/config/keymaps.lua +++ b/configs/nvim/lua/config/keymaps.lua @@ -1,3 +1,3 @@ -- Keymaps are automatically loaded on the VeryLazy event --- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua +-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blo}b/main/lua/lazyvim/config/keymaps.lua -- Add any additional keymaps here diff --git a/configs/nvim/lua/config/options.lua b/configs/nvim/lua/config/options.lua index 3ea1454..65845e5 100644 --- a/configs/nvim/lua/config/options.lua +++ b/configs/nvim/lua/config/options.lua @@ -1,3 +1,5 @@ -- Options are automatically loaded before lazy.nvim startup -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here +vim.opt.scrolloff = 8; + diff --git a/configs/nvim/lua/plugins/mrflos.lua b/configs/nvim/lua/plugins/mrflos.lua index 612b98a..22638a2 100644 --- a/configs/nvim/lua/plugins/mrflos.lua +++ b/configs/nvim/lua/plugins/mrflos.lua @@ -21,4 +21,12 @@ return { colorscheme = "rose-pine", }, } + + -- NeoScroll plugin +-- { +-- "karb94/neoscroll.nvim", +-- config = function () +-- require('neoscroll').setup {} +-- end +-- } }