diff --git a/README.md b/README.md index a865ff4e..9fa05f93 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ require('opencode').setup({ ['o/'] = { 'quick_chat', mode = { 'n', 'x' } }, -- Open quick chat input with selection context in visual mode or current line context in normal mode }, input_window = { - [''] = { 'submit_input_prompt', mode = { 'n', 'i' } }, -- Submit prompt (normal mode and insert mode) + [''] = { 'submit_input_prompt', mode = { 'n', 'i' } }, -- Submit prompt (normal mode and insert mode) [''] = { 'close' }, -- Close UI windows [''] = { 'cancel' }, -- Cancel opencode request while it is running ['~'] = { 'mention_file', mode = 'i' }, -- Pick a file and add to context. See File Mentions section diff --git a/lua/opencode/config.lua b/lua/opencode/config.lua index 14d131ff..1d64090b 100644 --- a/lua/opencode/config.lua +++ b/lua/opencode/config.lua @@ -62,7 +62,7 @@ M.defaults = { }, input_window = { [''] = { 'submit_input_prompt', mode = { 'n' } }, - [''] = { 'submit_input_prompt', mode = { 'n', 'i' } }, + [''] = { 'submit_input_prompt', mode = { 'n', 'i' } }, [''] = { 'close' }, [''] = { 'cancel' }, ['~'] = { 'mention_file', mode = 'i' },