How to do the very basics. #99
Replies: 4 comments 1 reply
That's for Copilot Panel. Panel is opened by pressing For suggestion keymaps, check
This plugin doesn't have any helpfile. Check the README.md file on this repo for all the info: https://github.com/zbirenbaum/copilot.lua/blob/master/README.md |
|
Thank you @MunifTanjim ! |
|
Okay, so here's a more complete guide:
require("copilot").setup({
panel = {
auto_refresh = false,
keymap = {
accept = "<CR>",
jump_prev = "[[",
jump_next = "]]",
refresh = "gr",
open = "<M-CR>",
},
},
suggestion = {
auto_trigger = true,
keymap = {
accept = "<M-l>",
prev = "<M-[>",
next = "<M-]>",
dismiss = "<C-]>",
},
},
})
You can accept the suggestion by pressing the Note: If you want to use |
|
Bless you @MunifTanjim that actually did the trick man. - Thank you so much!!!! |

Okay, so here's a more complete guide:
Install
zbirenbaum/copilot.luawith your plugin manager of choice (vim-plugorpacker.nvimorlazy.nvimor something else).Setup
copilot.lua.Restart Neovim.
Run
:Copilot authand complete the authentication process (if it's not done already).Run
:Copilot statusto make …