From 1cb297132be548358070ed106f951c1d4eef147e Mon Sep 17 00:00:00 2001 From: Simon Lasbrugnas Date: Mon, 22 Jan 2024 00:44:25 +0100 Subject: [PATCH] chore(coding): use return carriage instead of C-y to autocomplete --- lua/plugins/coding.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index 8a46cd2..83cd562 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -25,7 +25,7 @@ return { [""] = cmp.mapping.scroll_docs(4), [""] = cmp.mapping.complete(), [""] = cmp.mapping.abort(), - [""] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. + [""] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items. [""] = cmp.mapping.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true,