Browse Source

feat: remove unused plugins

master
Tovi Jaeschke-Rogers 8 months ago
parent
commit
de6f8d1742
15 changed files with 96 additions and 288 deletions
  1. +0
    -2
      .config/nvim/init.lua
  2. +0
    -5
      .config/nvim/lua/settings/theme.lua
  3. +0
    -6
      .config/nvim/lua/tovi/plugins/cellular-automaton.lua
  4. +53
    -157
      .config/nvim/lua/tovi/plugins/colorscheme.lua
  5. +0
    -42
      .config/nvim/lua/tovi/plugins/copilot.lua
  6. +38
    -0
      .config/nvim/lua/tovi/plugins/dashboard.lua
  7. +0
    -5
      .config/nvim/lua/tovi/plugins/dressing.lua
  8. +0
    -5
      .config/nvim/lua/tovi/plugins/duck.lua
  9. +5
    -1
      .config/nvim/lua/tovi/plugins/indent-blankline.lua
  10. +0
    -11
      .config/nvim/lua/tovi/plugins/lazygit.lua
  11. +0
    -7
      .config/nvim/lua/tovi/plugins/mini-notify.lua
  12. +0
    -5
      .config/nvim/lua/tovi/plugins/minintro.lua
  13. +0
    -24
      .config/nvim/lua/tovi/plugins/themery.lua
  14. +0
    -17
      .config/nvim/lua/tovi/plugins/trouble.lua
  15. +0
    -1
      .config/nvim/lua/tovi/plugins/undotree.lua

+ 0
- 2
.config/nvim/init.lua View File

@ -1,4 +1,2 @@
require('tovi.core')
require('tovi.lazy')
require('settings.theme')

+ 0
- 5
.config/nvim/lua/settings/theme.lua View File

@ -1,5 +0,0 @@
-- Themery block
-- This block will be replaced by Themery.
vim.cmd("colorscheme catppuccin")
vim.g.theme_id = 5
-- end themery block

+ 0
- 6
.config/nvim/lua/tovi/plugins/cellular-automaton.lua View File

@ -1,6 +0,0 @@
return {
'eandrju/cellular-automaton.nvim',
config = function()
vim.keymap.set("n", "<leader>fml", "<cmd>CellularAutomaton make_it_rain<CR>")
end
}

+ 53
- 157
.config/nvim/lua/tovi/plugins/colorscheme.lua View File

@ -1,160 +1,56 @@
return {
{
"EdenEast/nightfox.nvim",
name = "nightfox",
lazy = false,
priority = 1000,
config = function ()
require('nightfox').setup({
options = {
styles = {
comments = "italic",
keywords = "bold",
types = "italic,bold",
}
}
})
-- vim.cmd([[ colorscheme carbonfox ]])
end
},
{
"bluz71/vim-nightfly-colors",
name = "nightfly",
lazy = false,
priority = 1000,
config = function ()
-- vim.cmd([[ colorscheme nightfly ]])
end
},
{
"morhetz/gruvbox",
name = "gruvbox",
lazy = false,
priority = 1000,
config = function ()
-- vim.cmd([[ colorscheme gruvbox ]])
end
},
{
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
config = function ()
require("catppuccin").setup({
flavour = "auto", -- latte, frappe, macchiato, mocha
background = { -- :h background
light = "latte",
dark = "mocha",
"catppuccin/nvim",
name = "catppuccin",
priority = 1000,
config = function ()
require("catppuccin").setup({
flavour = "auto", -- latte, frappe, macchiato, mocha
background = { -- :h background
light = "latte",
dark = "mocha",
},
transparent_background = false, -- disables setting the background color.
show_end_of_buffer = false, -- shows the '~' characters after the end of buffers
term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`)
dim_inactive = {
enabled = false, -- dims the background color of inactive window
shade = "dark",
percentage = 0.15, -- percentage of the shade to apply to the inactive window
},
no_italic = false, -- Force no italic
no_bold = false, -- Force no bold
no_underline = false, -- Force no underline
styles = { -- Handles the styles of general hi groups (see `:h highlight-args`):
comments = { "italic" }, -- Change the style of comments
conditionals = { "italic" },
loops = {},
functions = {},
keywords = {},
strings = {},
variables = {},
numbers = {},
booleans = {},
properties = {},
types = {},
operators = {},
-- miscs = {}, -- Uncomment to turn off hard-coded styles
},
color_overrides = {},
custom_highlights = {},
default_integrations = true,
integrations = {
cmp = true,
gitsigns = true,
nvimtree = true,
treesitter = true,
notify = false,
mini = {
enabled = true,
indentscope_color = "",
},
transparent_background = false, -- disables setting the background color.
show_end_of_buffer = false, -- shows the '~' characters after the end of buffers
term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`)
dim_inactive = {
enabled = false, -- dims the background color of inactive window
shade = "dark",
percentage = 0.15, -- percentage of the shade to apply to the inactive window
},
no_italic = false, -- Force no italic
no_bold = false, -- Force no bold
no_underline = false, -- Force no underline
styles = { -- Handles the styles of general hi groups (see `:h highlight-args`):
comments = { "italic" }, -- Change the style of comments
conditionals = { "italic" },
loops = {},
functions = {},
keywords = {},
strings = {},
variables = {},
numbers = {},
booleans = {},
properties = {},
types = {},
operators = {},
-- miscs = {}, -- Uncomment to turn off hard-coded styles
},
color_overrides = {},
custom_highlights = {},
default_integrations = true,
integrations = {
cmp = true,
gitsigns = true,
nvimtree = true,
treesitter = true,
notify = false,
mini = {
enabled = true,
indentscope_color = "",
},
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
},
})
end
},
{
"rebelot/kanagawa.nvim",
name = "kanagawa",
priority = 1000,
config = function ()
require('kanagawa').setup({
compile = false, -- enable compiling the colorscheme
undercurl = true, -- enable undercurls
commentStyle = { italic = true },
functionStyle = {},
keywordStyle = { italic = true},
statementStyle = { bold = true },
typeStyle = {},
transparent = false, -- do not set background color
dimInactive = false, -- dim inactive window `:h hl-NormalNC`
terminalColors = true, -- define vim.g.terminal_color_{0,17}
colors = { -- add/modify theme and palette colors
palette = {},
theme = { wave = {}, lotus = {}, dragon = {}, all = {} },
},
overrides = function(colors) -- add/modify highlights
return {}
end,
theme = "wave", -- Load "wave" theme when 'background' option is not set
background = { -- map the value of 'background' option to a theme
dark = "dragon", -- try "dragon" !
light = "lotus"
},
})
end
},
{
"rose-pine/neovim",
as = "rose-pine"
},
{
"neanias/everforest-nvim",
version = false,
lazy = false,
priority = 1000, -- make sure to load this before all the other start plugins
-- Optional; default configuration will be used if setup isn't called.
config = function()
require("everforest").setup({
background = "hard",
transparent_background_level = 0,
italics = true,
disable_italic_comments = false,
on_highlights = function(hl, _)
hl["@symbol"] = { link = "@field" }
end,
})
end,
},
{
"olimorris/onedarkpro.nvim",
priority = 1000, -- Ensure it loads first
},
{
"eldritch-theme/eldritch.nvim",
lazy = false,
priority = 1000,
opts = {},
},
{
"luisiacc/the-matrix.nvim",
priority = 1000,
},
},
})
vim.cmd("colorscheme catppuccin")
end
}

+ 0
- 42
.config/nvim/lua/tovi/plugins/copilot.lua View File

@ -1,42 +0,0 @@
return {
'zbirenbaum/copilot.lua',
enabled = false,
cmd = "Copilot",
event = "InsertEnter",
config = function()
require("copilot").setup({
panel = {
enabled = true,
auto_refresh = false,
keymap = {
jump_prev = "[[",
jump_next = "]]",
accept = "<CR>",
refresh = "gr",
open = "<M-CR>"
},
layout = {
position = "bottom", -- | top | left | right
ratio = 0.4
},
},
suggestion = {
enabled = true,
auto_trigger = true,
debounce = 75,
keymap = {
accept = ",,",
accept_word = false,
accept_line = false,
next = "<C-n>",
prev = "<C-p>",
dismiss = "<C-]>",
},
},
filetypes = {
},
copilot_node_command = 'node', -- Node.js version must be > 18.x
server_opts_overrides = {},
})
end,
}

+ 38
- 0
.config/nvim/lua/tovi/plugins/dashboard.lua View File

@ -0,0 +1,38 @@
return {
'nvimdev/dashboard-nvim',
event = 'VimEnter',
config = function()
require('dashboard').setup({
theme = 'hyper',
config = {
week_header = {
enable = true,
},
shortcut = {
{ desc = '󰊳 Update', group = '@property', action = 'Lazy update', key = 'u' },
{
icon = '',
icon_hl = '@variable',
desc = 'Files',
group = 'Label',
action = 'Telescope find_files',
key = 'f',
},
{
desc = ' Apps',
group = 'DiagnosticHint',
action = 'Telescope app',
key = 'a',
},
{
desc = ' dotfiles',
group = 'Number',
action = 'Telescope dotfiles',
key = 'd',
},
},
},
})
end,
dependencies = { {'nvim-tree/nvim-web-devicons'}}
}

+ 0
- 5
.config/nvim/lua/tovi/plugins/dressing.lua View File

@ -1,5 +0,0 @@
return {
"stevearc/dressing.nvim",
enabled = false,
event = "VeryLazy",
}

+ 0
- 5
.config/nvim/lua/tovi/plugins/duck.lua View File

@ -1,5 +0,0 @@
return {
'tamton-aquib/duck.nvim',
config = function()
end
}

+ 5
- 1
.config/nvim/lua/tovi/plugins/indent-blankline.lua View File

@ -1,5 +1,9 @@
return {
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
opts = {}
opts = {
exclude = {
filetypes = { "dashboard" },
}
}
}

+ 0
- 11
.config/nvim/lua/tovi/plugins/lazygit.lua View File

@ -1,11 +0,0 @@
return {
"kdheepak/lazygit.nvim",
enabled = false,
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
config = function()
vim.keymap.set("n", "<leader>gg", "<cmd>LazyGit<cr>", { noremap = true, silent = true })
end,
}

+ 0
- 7
.config/nvim/lua/tovi/plugins/mini-notify.lua View File

@ -1,7 +0,0 @@
return {
'echasnovski/mini.notify',
version = false,
config = function ()
require('mini.notify').setup({})
end
}

+ 0
- 5
.config/nvim/lua/tovi/plugins/minintro.lua View File

@ -1,5 +0,0 @@
return {
"eoh-bse/minintro.nvim",
config = true,
enabled = false,
}

+ 0
- 24
.config/nvim/lua/tovi/plugins/themery.lua View File

@ -1,24 +0,0 @@
return {
'zaldih/themery.nvim',
config = function ()
require("themery").setup({
themes = {
"nightfox",
"carbonfox",
"nightfly",
"gruvbox",
"catppuccin",
"kanagawa",
"rose-pine",
"everforest",
"onedark",
"onedark_dark",
"onedark_vivid",
"eldritch",
"thematrix",
},
themeConfigFile = "~/.config/nvim/lua/settings/theme.lua", -- Described below
livePreview = true, -- Apply theme while browsing. Default to true.
})
end
}

+ 0
- 17
.config/nvim/lua/tovi/plugins/trouble.lua View File

@ -1,17 +0,0 @@
return {
"folke/trouble.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function ()
local trouble = require("trouble");
vim.keymap.set("n", "<leader>xx", trouble.toggle);
vim.keymap.set("n", "[D", function ()
trouble.open();
trouble.previous({skip_groups = true, jump = true});
end)
vim.keymap.set("n", "]D", function ()
trouble.open();
require("trouble").next({skip_groups = true, jump = true});
end)
end
}

+ 0
- 1
.config/nvim/lua/tovi/plugins/undotree.lua View File

@ -1,6 +1,5 @@
return {
"mbbill/undotree",
config = function()
-- vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
end,
}

Loading…
Cancel
Save