feat(nvim): new extras: blink and fzf-lua extended

nvim-cmp and telescope are now longer the default plugins for lazyvim
This commit is contained in:
Sergio Laín 2025-01-07 23:56:28 +01:00
parent b7eb46e0cf
commit fd95d5fd4a
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438
3 changed files with 40 additions and 5 deletions

View file

@ -8,6 +8,7 @@
"plugins.extras.coding.ai.codecompanion",
"plugins.extras.coding.ai.codeium",
"plugins.extras.coding.annotation",
"plugins.extras.coding.blink-extended",
"plugins.extras.coding.multicursor",
"plugins.extras.coding.recorder",
"plugins.extras.coding.refactoring",
@ -23,6 +24,7 @@
"plugins.extras.editor.docs.devdocs",
"plugins.extras.editor.docs.obsidian",
"plugins.extras.editor.flash-extended",
"plugins.extras.editor.fzf.fzf-extended",
"plugins.extras.editor.git.diffview",
"plugins.extras.editor.gitsigns-extended",
"plugins.extras.editor.marks.grapple",
@ -30,9 +32,6 @@
"plugins.extras.editor.package-info",
"plugins.extras.editor.search-replace",
"plugins.extras.editor.suda",
"plugins.extras.editor.telescope.lazy",
"plugins.extras.editor.telescope.undotree",
"plugins.extras.editor.telescope.zoxide",
"plugins.extras.editor.trouble-extended",
"plugins.extras.formatting.prettier-extended",
"plugins.extras.formatting.trim_newlines",
@ -45,10 +44,8 @@
"plugins.extras.lang.web.typescript-extended",
"plugins.extras.lang.yaml-extended",
"plugins.extras.linting.eslint-extended",
"plugins.extras.lsp.actions-preview",
"plugins.extras.lsp.file-operations",
"plugins.extras.lsp.garbage-day",
"plugins.extras.lsp.glance",
"plugins.extras.lsp.lens",
"plugins.extras.lsp.lspconfig-extended",
"plugins.extras.lsp.mason-extended",

View file

@ -0,0 +1,20 @@
return {
"saghen/blink.cmp",
opts = {
keymap = {
["<C-k>"] = { "select_prev", "fallback" },
["<C-j>"] = { "select_next", "fallback" },
},
completion = {
menu = {
border = "rounded",
winhighlight = "Normal:BlinkCmpDoc,FloatBorder:BlinkCmpDocBorder,CursorLine:BlinkCmpDocCursorLine,Search:None",
},
documentation = {
window = {
border = "rounded",
},
},
},
},
}

View file

@ -0,0 +1,18 @@
return {
{ import = "lazyvim.plugins.extras.editor.fzf" },
{
"ibhagwan/fzf-lua",
opts = {
previewers = {
builtin = {
syntax_limit_b = 1024 * 100, -- 100KB
},
},
},
keys = {
{ "<leader>sA", "<cmd>FzfLua treesitter<cr>", desc = "Treesiter Symbols" },
{ "<leader>gr", "<cmd>FzfLua git_branches<cr>", desc = "Branches" },
{ "<leader>S", "<cmd>FzfLua spell_suggest<cr>", desc = "Spelling" },
},
},
}