[nvim] Change suggestion keymaps: C-space to suggest, C-enter to accept.
This commit is contained in:
14
home-manager/features/neovim/config/lua/plugins/blink.lua
Normal file
14
home-manager/features/neovim/config/lua/plugins/blink.lua
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
return {
|
||||||
|
"saghen/blink.cmp",
|
||||||
|
opts = {
|
||||||
|
keymap = {
|
||||||
|
preset = "default",
|
||||||
|
["<C-space>"] = {
|
||||||
|
function(cmp)
|
||||||
|
cmp.show()
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
["<C-enter>"] = { "select_and_accept" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user