nvim: Add avante and pastify to disabled_plugins
This commit is contained in:
parent
ac9058d3e3
commit
4bc2809648
19
nvim/.config/nvim/lua/disabled_plugins/avante.lua
Normal file
19
nvim/.config/nvim/lua/disabled_plugins/avante.lua
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
return {
|
||||||
|
"yetone/avante.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
lazy = false,
|
||||||
|
version = false, -- set this if you want to always pull the latest change
|
||||||
|
opts = {
|
||||||
|
provider = "copilot"
|
||||||
|
},
|
||||||
|
build = "make",
|
||||||
|
dependencies = {
|
||||||
|
"stevearc/dressing.nvim",
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"MunifTanjim/nui.nvim",
|
||||||
|
--- The below dependencies are optional,
|
||||||
|
"hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions
|
||||||
|
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
|
||||||
|
"zbirenbaum/copilot.lua" -- for providers='copilot'
|
||||||
|
}
|
||||||
|
}
|
||||||
41
nvim/.config/nvim/lua/disabled_plugins/pastify.lua
Normal file
41
nvim/.config/nvim/lua/disabled_plugins/pastify.lua
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
return {
|
||||||
|
'TobinPalmer/pastify.nvim',
|
||||||
|
cmd = {
|
||||||
|
'Pastify',
|
||||||
|
'PastifyAfter'
|
||||||
|
},
|
||||||
|
-- event = {
|
||||||
|
-- 'BufReadPost'
|
||||||
|
-- }, -- Load after the buffer is read, I like to be able to paste right away
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
noremap = true,
|
||||||
|
mode = "x",
|
||||||
|
'<leader>p',
|
||||||
|
"<cmd>PastifyAfter<CR>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
noremap = true,
|
||||||
|
mode = "n",
|
||||||
|
'<leader>p',
|
||||||
|
"<cmd>PastifyAfter<CR>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
noremap = true,
|
||||||
|
mode = "n",
|
||||||
|
'<leader>P',
|
||||||
|
"<cmd>Pastify<CR>"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('pastify').setup {
|
||||||
|
opts = {
|
||||||
|
local_path = '/res/'
|
||||||
|
},
|
||||||
|
ft = {
|
||||||
|
markdown = ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
end
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user