♻️ refactor(core): add scrolloff plugin, move some plugins to new core category

Add scroll-off plugin. Move "core" plugins to a new lua file
This commit is contained in:
2024-08-06 02:42:45 -04:00
parent b7f5faf961
commit 9572bdd0a8
2 changed files with 56 additions and 31 deletions
+14 -31
View File
@@ -1,35 +1,17 @@
-- -----------------------------------------------------------------------------
-- --------------------------------- EDITOR ------------------------------------
-- -----------------------------------------------------------------------------
return {
{ -- Edgy
import = "lazyvim.plugins.extras.ui.edgy",
},
{ -- Mini-animate
import = "lazyvim.plugins.extras.ui.mini-animate",
},
return {
{ -- Aerial
import = "lazyvim.plugins.extras.editor.aerial",
},
{ -- Dial
import = "lazyvim.plugins.extras.editor.dial",
},
{ -- Fzf
import = "lazyvim.plugins.extras.editor.fzf",
},
{ -- Illuminate
import = "lazyvim.plugins.extras.editor.illuminate",
},
{
"akinsho/bufferline.nvim",
opts = {
options = {
separator_style = "slant",
},
},
},
{
"folke/flash.nvim",
opts = {
@@ -77,18 +59,6 @@ return {
},
},
},
{ -- Which-Key
"folke/which-key.nvim",
lazy = true,
opts = {
preset = "modern",
win = {
wo = {
winblend = 10,
},
},
},
},
{ -- CodeWindow
"gorbit99/codewindow.nvim",
event = "BufEnter",
@@ -152,4 +122,17 @@ return {
require("smoothcursor").setup({})
end,
},
{
"tonymajestro/smart-scrolloff.nvim",
event = "VeryLazy",
opts = {
scrolloff_percentage = 0.25,
},
},
{
"chrisgrieser/nvim-recorder",
event = "VeryLazy",
dependencies = "rcarriga/nvim-notify", -- optional
opts = {},
},
}