This commit is contained in:
newbie 2023-12-15 12:15:39 +08:00
parent c91084492b
commit 3c09b60016
4 changed files with 23 additions and 15 deletions

View File

@ -9,7 +9,7 @@ return {
require('plugs.theme'), -- theme require('plugs.theme'), -- theme
require("plugs.edit-plugs"), require("plugs.edit-plugs"),
require("plugs.hop"),
require("plugs.toggleterm") require("plugs.toggleterm")
} }

View File

@ -46,7 +46,15 @@ return {
{ {
"askfiy/nvim-picgo", "askfiy/nvim-picgo",
config = function() config = function()
G.map({
{ 'n', '<leader>pp', ':UploadClipboard<CR>' }
})
require("nvim-picgo").setup() require("nvim-picgo").setup()
end end
},
{
-- hop
require("plugs.hop")
} }
} }

View File

@ -52,7 +52,7 @@ return {
{ 'n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<CR>' }, { 'n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<CR>' },
{ 'n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>' }, { 'n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>' },
{ 'n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>' }, { 'n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>' },
{ 'n', '<leader>i', '<cmd>lua vim.lsp.buf.format()<CR>' }, { 'n', '<cs-i>', '<cmd>lua vim.lsp.buf.format()<CR>' },
}) })
end end
@ -133,7 +133,7 @@ return {
} }
require("symbols-outline").setup(opts) require("symbols-outline").setup(opts)
G.map({ G.map({
{ "n", "cs-o>", "<cmd>SymbolsOutline<cr>" }, { "n", "<cs-o>", "<cmd>SymbolsOutline<cr>" },
}) })
end end
}, },

View File

@ -78,6 +78,6 @@ return {
]] ]]
} }
end, end,
} },
} }