mirror of
https://github.com/itme-brain/nvim.git
synced 2026-05-08 07:00:13 -04:00
updated
This commit is contained in:
parent
17bf7e4973
commit
7d72471237
17 changed files with 297 additions and 538 deletions
30
lua/plugins/blink-cmp.lua
Normal file
30
lua/plugins/blink-cmp.lua
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
return {
|
||||
{
|
||||
"saghen/blink.cmp",
|
||||
version = "*",
|
||||
event = "InsertEnter",
|
||||
opts = {
|
||||
keymap = {
|
||||
preset = "none",
|
||||
["<C-y>"] = { "select_and_accept" },
|
||||
["<C-e>"] = { "cancel" },
|
||||
["<C-j>"] = { "select_next", "fallback" },
|
||||
["<C-k>"] = { "select_prev", "fallback" },
|
||||
["<C-f>"] = { "scroll_documentation_down", "fallback" },
|
||||
["<C-d>"] = { "scroll_documentation_up", "fallback" },
|
||||
},
|
||||
completion = {
|
||||
list = {
|
||||
selection = { preselect = false, auto_insert = false },
|
||||
},
|
||||
documentation = {
|
||||
auto_show = true,
|
||||
auto_show_delay_ms = 200,
|
||||
},
|
||||
},
|
||||
sources = {
|
||||
default = { "lsp", "buffer", "path" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue