How to do the very basics. #99
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
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 |
Beta Was this translation helpful? Give feedback.
-
Thank you @MunifTanjim ! |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Bless you @MunifTanjim that actually did the trick man. - Thank you so much!!!! |
Beta Was this translation helpful? Give feedback.
Okay, so here's a more complete guide:
Install
zbirenbaum/copilot.lua
with your plugin manager of choice (vim-plug
orpacker.nvim
orlazy.nvim
or something else).Setup
copilot.lua
.Restart Neovim.
Run
:Copilot auth
and complete the authentication process (if it's not done already).Run
:Copilot status
to make …