From 49846d179fc449de66336d301a1a19255df5724b Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Mon, 26 May 2025 10:24:50 -0300 Subject: [PATCH] feat(ide): use arrow keys for autocompletion navigation --- lua/dot013/plugins/ide.lua | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lua/dot013/plugins/ide.lua b/lua/dot013/plugins/ide.lua index eae9b9a..66d55f3 100644 --- a/lua/dot013/plugins/ide.lua +++ b/lua/dot013/plugins/ide.lua @@ -44,15 +44,16 @@ return { require("blink.cmp").setup({ keymap = { [""] = { "show", "show_documentation", "hide_documentation" }, - [""] = { "hide", "fallback" }, - [""] = { "accept", "fallback" }, + [""] = { "hide", "fallback" }, + [""] = { "accept", "fallback" }, + [""] = { "accept", "fallback" }, - [""] = { "select_prev", "snippet_backward", "fallback" }, - [""] = { "select_next", "snippet_forward", "fallback" }, - [""] = { "scroll_documentation_up", "fallback" }, + [""] = { "select_prev", "snippet_backward", "fallback" }, + [""] = { "select_next", "snippet_forward", "fallback" }, - [""] = { "scroll_documentation_down", "fallback" }, + [""] = { "scroll_documentation_up", "fallback" }, + [""] = { "scroll_documentation_down", "fallback" }, }, snippets = { expand = function(snippet) @@ -70,9 +71,9 @@ return { }, sources = { default = { + "snippets", "lsp", "path", - "snippets", "buffer", }, },