From 700cecd2ae85092d9a9bd5fb679bd923ad589257 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Mon, 18 Mar 2024 10:33:28 +0900 Subject: [PATCH] change: nvim: cmp settings (Replace -> Insert, selection requirement) --- dotfiles/neovim/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index a952464..7337660 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -673,8 +673,8 @@ cmp.setup { [''] = cmp.mapping.scroll_docs(4), -- Down [''] = cmp.mapping.complete(), [''] = cmp.mapping.confirm { - behavior = cmp.ConfirmBehavior.Replace, - select = true, + behavior = cmp.ConfirmBehavior.Insert, + select = false, }, [''] = cmp.mapping(function(fallback) if cmp.visible() then