Skip to content

Commit

Permalink
Using tpope's copilot
Browse files Browse the repository at this point in the history
  • Loading branch information
daonb committed Jan 16, 2024
1 parent 99b4fbb commit a4475e7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 47 deletions.
43 changes: 0 additions & 43 deletions .config/nvim/after/plugin/copilot.lua

This file was deleted.

5 changes: 1 addition & 4 deletions .config/nvim/lua/daonb/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,5 @@ return require('packer').startup(function(use)
{'rafamadriz/friendly-snippets'},
}
}
use { "zbirenbaum/copilot.lua" ,
cmd = "Copilot",
event = "InsertEnter",
}
use {'github/copilot.vim', branch = 'release' }
end)
1 change: 1 addition & 0 deletions .config/nvim/lua/daonb/remap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ vim.keymap.set('n', '<C-p>', builtin.git_files, {})
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
vim.keymap.set('n', '<leader>fs', builtin.lsp_dynamic_workspace_symbols, {})
vim.keymap.set('n', '<C-h>', function() ui.nav_file(1) end)
vim.keymap.set('n', '<C-t>', function() ui.nav_file(2) end)
vim.keymap.set('n', '<C-n>', function() ui.nav_file(3) end)
Expand Down

0 comments on commit a4475e7

Please sign in to comment.