refactor(nvim): use C-j
& C-k
to scroll cmp docs
Note: this does mean that C-k binds for entering raw codes no longer works by default.
This commit is contained in:
parent
99a1557151
commit
3656d11b13
@ -240,8 +240,8 @@ return {
|
||||
end,
|
||||
},
|
||||
mapping = {
|
||||
["<C-s>"] = cmp.mapping(cmp.mapping.scroll_docs(-4), { "i", "c" }),
|
||||
["<C-d>"] = cmp.mapping(cmp.mapping.scroll_docs(4), { "i", "c" }),
|
||||
["<C-k>"] = cmp.mapping(cmp.mapping.scroll_docs(-4), { "i", "c" }),
|
||||
["<C-j>"] = cmp.mapping(cmp.mapping.scroll_docs(4), { "i", "c" }),
|
||||
["<C-Space>"] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }),
|
||||
["<C-y>"] = cmp.config.disable, -- Specify `cmp.config.disable` if you want to remove the default `<C-y>` mapping.
|
||||
["<C-e>"] = cmp.mapping({
|
||||
|
Loading…
Reference in New Issue
Block a user