Skip to content

Commit

Permalink
revert: use <C-j> for copilot acceptance (#507)
Browse files Browse the repository at this point in the history
Refs: aeecada
  • Loading branch information
luxus authored and mehalter committed Aug 6, 2023
1 parent 6deb350 commit 213ddc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/astrocommunity/completion/copilot-lua-cmp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ return {
if copilot.is_visible() then copilot.accept_line() end
end)

opts.mapping["<C-n>"] = cmp.mapping(function()
opts.mapping["<C-j>"] = cmp.mapping(function()
if copilot.is_visible() then copilot.accept_line() end
end)

Expand Down

0 comments on commit 213ddc3

Please sign in to comment.