♻️ 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:
+14
-31
@@ -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 = {},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user