diff --git a/README.md b/README.md index b2d80dc0..b2824304 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ When you use `@copilot`, the LLM can call functions like `bash`, `edit`, `file`, > > ```lua > vim.g.copilot_no_tab_map = true -> vim.keymap.set('i', '', 'copilot#Accept("\\")', { expr = true, replace_keycodes = false }) +> vim.keymap.set('i', '', require('copilot.suggestion').accept, { expr = true, replace_keycodes = false }) > ``` > > You can also customize CopilotChat keymaps in your config.