summaryrefslogtreecommitdiff
path: root/lua/lvim/core
diff options
context:
space:
mode:
authorxeluxee <[email protected]>2021-10-16 20:19:50 +0200
committerxeluxee <[email protected]>2021-10-16 20:36:21 +0200
commit92c07ed89f278a89a1dbf0437162f3a95661dd0e (patch)
treea81764b8a255188f815b470f6d1616131f7ba5a5 /lua/lvim/core
parent3c5a6d06b966eedac74a01d0fcc3a6a06631128e (diff)
fix(cmp): fix <C-j> and <C-k> keybindings not working
Diffstat (limited to 'lua/lvim/core')
-rw-r--r--lua/lvim/core/cmp.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/lvim/core/cmp.lua b/lua/lvim/core/cmp.lua
index ad06a360..b1cb1431 100644
--- a/lua/lvim/core/cmp.lua
+++ b/lua/lvim/core/cmp.lua
@@ -204,6 +204,8 @@ M.config = function()
{ name = "crates" },
},
mapping = {
+ ["<C-k>"] = cmp.mapping.select_prev_item(),
+ ["<C-j>"] = cmp.mapping.select_next_item(),
["<C-d>"] = cmp.mapping.scroll_docs(-4),
["<C-f>"] = cmp.mapping.scroll_docs(4),
-- TODO: potentially fix emmet nonsense