remove key-analyzer and add package-info
This commit is contained in:
parent
ef4148a250
commit
07f3d7a0ab
5 changed files with 20 additions and 37 deletions
|
|
@ -53,17 +53,25 @@ return {
|
|||
desc = "Git branches",
|
||||
},
|
||||
{
|
||||
cmd = ":GV<CR>",
|
||||
cmd = function()
|
||||
require("neogit").action("log", "log_current", { '--graph', '--decorate', '--color' })()
|
||||
end,
|
||||
desc = "Git log",
|
||||
},
|
||||
{
|
||||
cmd = ":Git blame",
|
||||
cmd = function()
|
||||
require("gitsigns").blame()
|
||||
end,
|
||||
desc = "Git blame",
|
||||
},
|
||||
{
|
||||
cmd = ":DiffviewOpen<CR>",
|
||||
desc = "Diff view",
|
||||
},
|
||||
{
|
||||
desc = "Diffview since develop branch",
|
||||
cmd = ":DiffviewOpen develop...<CR>"
|
||||
},
|
||||
{
|
||||
cmd = ":UndotreeToggle<CR>",
|
||||
desc = "Undotree",
|
||||
|
|
@ -86,18 +94,6 @@ return {
|
|||
keys = { "n", "<leader>t" },
|
||||
set = false,
|
||||
},
|
||||
{
|
||||
cmd = ":GitConflicts<CR>",
|
||||
desc = "Git conflicts to quickfix",
|
||||
},
|
||||
{
|
||||
cmd = ":LastCommitToQuickfix<CR>",
|
||||
desc = "Last Commit To quickfix",
|
||||
},
|
||||
{
|
||||
cmd = ":ForkToQuickfix<CR>",
|
||||
desc = "Branch commits to quickfix",
|
||||
},
|
||||
{
|
||||
cmd = ":Trouble diagnostics toggle focus=false filter.buf=0<CR>",
|
||||
desc = "Diagnostic window (current buffer)",
|
||||
|
|
@ -119,22 +115,9 @@ return {
|
|||
cmd = ":PackageInfoUpdate<CR>",
|
||||
desc = "Update package.json dependency",
|
||||
},
|
||||
{
|
||||
cmd = ":CoAuthor<CR>",
|
||||
desc = "Add Git CoAuthor",
|
||||
},
|
||||
{
|
||||
cmd = ":TailwindConcealToggle<CR>",
|
||||
desc = "Toggle conceal tailwind classes",
|
||||
},
|
||||
{
|
||||
cmd = ":OutputPanel<CR>",
|
||||
desc = "Toggle LSP Output Panel"
|
||||
},
|
||||
{
|
||||
cmd = ":KeyAnalyzer",
|
||||
desc =
|
||||
"Show diagram of mapped keys under the first parameter key"
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
return {
|
||||
"meznaric/key-analyzer.nvim",
|
||||
|
||||
opts = {}
|
||||
}
|
||||
5
lua/plugins/package-info.nvim.lua
Normal file
5
lua/plugins/package-info.nvim.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
"vuki656/package-info.nvim",
|
||||
requires = "MunifTanjim/nui.nvim",
|
||||
opts = {}
|
||||
}
|
||||
|
|
@ -83,7 +83,7 @@ return {
|
|||
-- * selection_mode: eg 'v'
|
||||
-- and should return true or false
|
||||
include_surrounding_whitespace = true,
|
||||
},
|
||||
}
|
||||
},
|
||||
})
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue