Update .config/nvim/init.lua
Update .config/nvim/lazy-lock.json Update .config/nvim/lua/config/10_opts.lua Update .config/nvim/lua/config/20_keymaps.lua Update .config/nvim/lua/plugin/00_colorscheme.lua Update .config/nvim/lua/plugin/01_whichkey.lua Update .config/nvim/lua/plugin/03_treesitter.lua Update .config/nvim/lua/plugin/05_fzf.lua Update .config/nvim/lua/plugin/15_lsp.lua Add .config/nvim/lua/plugin/25_git.lua Add .config/nvim/lua/plugin/30_formatting.lua Add .config/nvim/stylua.toml
This commit is contained in:
parent
2d7096e6cb
commit
d463a7b8c9
12 changed files with 181 additions and 72 deletions
|
|
@ -1,18 +1,32 @@
|
|||
return {
|
||||
{
|
||||
'folke/which-key.nvim',
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
preset = "helix",
|
||||
delay = function(ctx) return ctx.plugin and 0 or 20 end,
|
||||
spec = {
|
||||
{ "<leader>f", group = "fzf" },
|
||||
{ "<leader>s", group = "snippet" },
|
||||
{ "<leader>e", group = "edit config" },
|
||||
delay = function(ctx)
|
||||
return ctx.plugin and 0 or 20
|
||||
end,
|
||||
spec = {
|
||||
{ "<leader>f", group = "find" },
|
||||
{ "<leader>a", group = "lsp action" },
|
||||
{ "<leader>s", group = "snippet" },
|
||||
{ "<leader>e", group = "edit config" },
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>?", function() require("which-key").show({ global = true }) end, desc = "buffer local keymaps" }
|
||||
}
|
||||
{
|
||||
"<leader>?",
|
||||
function()
|
||||
require("which-key").show({ global = true })
|
||||
end,
|
||||
desc = "buffer local keymaps",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
dependencies = { "mini-nvim/mini.icons" },
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue