♻️ 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:
@@ -0,0 +1,42 @@
|
|||||||
|
-- -----------------------------------------------------------------------------
|
||||||
|
-- ---------------------------------- CORE -------------------------------------
|
||||||
|
-- -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"LazyVim/LazyVim",
|
||||||
|
opts = {
|
||||||
|
colorscheme = "catppuccin-frappe",
|
||||||
|
news = {
|
||||||
|
lazyvim = true,
|
||||||
|
neovim = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{ -- Edgy
|
||||||
|
import = "lazyvim.plugins.extras.ui.edgy",
|
||||||
|
},
|
||||||
|
{ -- Mini-animate
|
||||||
|
import = "lazyvim.plugins.extras.ui.mini-animate",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"akinsho/bufferline.nvim",
|
||||||
|
opts = {
|
||||||
|
options = {
|
||||||
|
separator_style = "slant",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{ -- Which-Key
|
||||||
|
"folke/which-key.nvim",
|
||||||
|
lazy = true,
|
||||||
|
opts = {
|
||||||
|
preset = "modern",
|
||||||
|
win = {
|
||||||
|
wo = {
|
||||||
|
winblend = 10,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
+14
-31
@@ -1,35 +1,17 @@
|
|||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
-- --------------------------------- EDITOR ------------------------------------
|
-- --------------------------------- EDITOR ------------------------------------
|
||||||
-- -----------------------------------------------------------------------------
|
-- -----------------------------------------------------------------------------
|
||||||
return {
|
|
||||||
{ -- Edgy
|
|
||||||
import = "lazyvim.plugins.extras.ui.edgy",
|
|
||||||
},
|
|
||||||
{ -- Mini-animate
|
|
||||||
import = "lazyvim.plugins.extras.ui.mini-animate",
|
|
||||||
},
|
|
||||||
|
|
||||||
|
return {
|
||||||
{ -- Aerial
|
{ -- Aerial
|
||||||
import = "lazyvim.plugins.extras.editor.aerial",
|
import = "lazyvim.plugins.extras.editor.aerial",
|
||||||
},
|
},
|
||||||
{ -- Dial
|
{ -- Dial
|
||||||
import = "lazyvim.plugins.extras.editor.dial",
|
import = "lazyvim.plugins.extras.editor.dial",
|
||||||
},
|
},
|
||||||
{ -- Fzf
|
|
||||||
import = "lazyvim.plugins.extras.editor.fzf",
|
|
||||||
},
|
|
||||||
{ -- Illuminate
|
{ -- Illuminate
|
||||||
import = "lazyvim.plugins.extras.editor.illuminate",
|
import = "lazyvim.plugins.extras.editor.illuminate",
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
"akinsho/bufferline.nvim",
|
|
||||||
opts = {
|
|
||||||
options = {
|
|
||||||
separator_style = "slant",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"folke/flash.nvim",
|
"folke/flash.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
@@ -77,18 +59,6 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ -- Which-Key
|
|
||||||
"folke/which-key.nvim",
|
|
||||||
lazy = true,
|
|
||||||
opts = {
|
|
||||||
preset = "modern",
|
|
||||||
win = {
|
|
||||||
wo = {
|
|
||||||
winblend = 10,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{ -- CodeWindow
|
{ -- CodeWindow
|
||||||
"gorbit99/codewindow.nvim",
|
"gorbit99/codewindow.nvim",
|
||||||
event = "BufEnter",
|
event = "BufEnter",
|
||||||
@@ -152,4 +122,17 @@ return {
|
|||||||
require("smoothcursor").setup({})
|
require("smoothcursor").setup({})
|
||||||
end,
|
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