98 lines
2.9 KiB
Lua
98 lines
2.9 KiB
Lua
-- You can add your own plugins here or in other files in this directory!
|
|
-- I promise not to create any merge conflicts in this directory :)
|
|
--
|
|
-- See the kickstart.nvim README for more information
|
|
return {
|
|
-------------------------------------UI-------------------------------------
|
|
{
|
|
'akinsho/bufferline.nvim',
|
|
version = '*',
|
|
dependencies = 'nvim-tree/nvim-web-devicons',
|
|
config = function()
|
|
require('bufferline').setup {}
|
|
end,
|
|
},
|
|
-------------------------------------UTILS-------------------------------------
|
|
require 'custom.plugins.avante',
|
|
'JoosepAlviste/nvim-ts-context-commentstring',
|
|
{
|
|
'numToStr/Comment.nvim',
|
|
config = function()
|
|
require('Comment').setup {
|
|
pre_hook = require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook(),
|
|
}
|
|
end,
|
|
},
|
|
{
|
|
'kdheepak/lazygit.nvim',
|
|
lazy = true,
|
|
cmd = {
|
|
'LazyGit',
|
|
'LazyGitConfig',
|
|
'LazyGitCurrentFile',
|
|
'LazyGitFilter',
|
|
'LazyGitFilterCurrentFile',
|
|
},
|
|
-- optional for floating window border decoration
|
|
dependencies = {
|
|
'nvim-lua/plenary.nvim',
|
|
},
|
|
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
|
-- order to load the plugin when the command is run for the first time
|
|
keys = {
|
|
{ '<leader>lg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
|
|
},
|
|
},
|
|
|
|
{
|
|
'windwp/nvim-ts-autotag',
|
|
config = function()
|
|
require('nvim-ts-autotag').setup()
|
|
end,
|
|
},
|
|
{
|
|
'mikavilpas/yazi.nvim',
|
|
event = 'VeryLazy',
|
|
keys = {
|
|
-- 👇 in this section, choose your own keymappings!
|
|
{
|
|
'<leader>y',
|
|
mode = { 'n', 'v' },
|
|
'<cmd>Yazi<cr>',
|
|
desc = 'Open yazi at the current file',
|
|
},
|
|
},
|
|
opts = {
|
|
-- if you want to open yazi instead of netrw, see below for more info
|
|
open_for_directories = false,
|
|
keymaps = {
|
|
show_help = '<f1>',
|
|
},
|
|
},
|
|
},
|
|
'moll/vim-bbye',
|
|
{
|
|
'folke/flash.nvim',
|
|
event = 'VeryLazy',
|
|
---@type Flash.Config
|
|
opts = {},
|
|
-- stylua: ignore
|
|
keys = {
|
|
{ "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
|
|
{ "S", mode = { "n", "x", "o" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" },
|
|
{ "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" },
|
|
{ "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" },
|
|
{ "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" },
|
|
},
|
|
},
|
|
-------------------------------------COLORS-------------------------------------
|
|
{ 'catppuccin/nvim', as = 'catppuccin' },
|
|
{ 'rose-pine/neovim', name = 'rose-pine' },
|
|
{
|
|
'folke/tokyonight.nvim',
|
|
lazy = false,
|
|
priority = 1000,
|
|
opts = {},
|
|
},
|
|
}
|