add copilot
This commit is contained in:
parent
42834b361b
commit
250a3fb84c
2 changed files with 38 additions and 0 deletions
10
init.lua
10
init.lua
|
|
@ -69,6 +69,9 @@ vim.opt.rtp:prepend(lazypath)
|
|||
require('lazy').setup({
|
||||
-- NOTE: First, some plugins that don't require any configuration
|
||||
|
||||
-- REMOVE
|
||||
"github/copilot.vim",
|
||||
|
||||
-- Git related plugins
|
||||
'tpope/vim-fugitive',
|
||||
'tpope/vim-rhubarb',
|
||||
|
|
@ -309,6 +312,13 @@ vim.o.termguicolors = true
|
|||
|
||||
-- [[ Basic Keymaps ]]
|
||||
|
||||
-- REMOVE
|
||||
|
||||
vim.keymap.set('i', '<C-J>', 'copilot#Accept("<CR>")', {
|
||||
expr = true,
|
||||
replace_keycodes = false
|
||||
})
|
||||
vim.g.copilot_no_tab_map = true
|
||||
-- Keymaps for better default experience
|
||||
-- See `:help vim.keymap.set()`
|
||||
vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue