Skip to content

Commit e205ea6

Browse files
committed
add github copilot plugin
1 parent 99c51fe commit e205ea6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

init.lua

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagn
171171
vim.keymap.set('t', '<Esc><Esc>', '<C-\\><C-n>', { desc = 'Exit terminal mode' })
172172

173173
-- TIP: Disable arrow keys in normal mode
174-
-- vim.keymap.set('n', '<left>', '<cmd>echo "Use h to move!!"<CR>')
175-
-- vim.keymap.set('n', '<right>', '<cmd>echo "Use l to move!!"<CR>')
176-
-- vim.keymap.set('n', '<up>', '<cmd>echo "Use k to move!!"<CR>')
177-
-- vim.keymap.set('n', '<down>', '<cmd>echo "Use j to move!!"<CR>')
174+
vim.keymap.set('n', '<left>', '<cmd>echo "Use h to move!!"<CR>')
175+
vim.keymap.set('n', '<right>', '<cmd>echo "Use l to move!!"<CR>')
176+
vim.keymap.set('n', '<up>', '<cmd>echo "Use k to move!!"<CR>')
177+
vim.keymap.set('n', '<down>', '<cmd>echo "Use j to move!!"<CR>')
178178

179179
-- Keybinds to make split navigation easier.
180180
-- Use CTRL+<hjkl> to switch between windows
@@ -231,6 +231,7 @@ vim.opt.rtp:prepend(lazypath)
231231
require('lazy').setup({
232232
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
233233
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
234+
'github/copilot.vim', -- GitHub Copilot
234235

235236
-- NOTE: Plugins can also be added by using a table,
236237
-- with the first argument being the link and the following

lazy-lock.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
33
"blink.cmp": { "branch": "main", "commit": "cb5e346d9e0efa7a3eee7fd4da0b690c48d2a98e" },
44
"conform.nvim": { "branch": "master", "commit": "372fc521f8421b7830ea6db4d6ea3bae1c77548c" },
5+
"copilot.vim": { "branch": "release", "commit": "8d1e0f86d8aaa64070c080589bc2a516beb4024f" },
56
"fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" },
67
"gitsigns.nvim": { "branch": "main", "commit": "2149fc2009d1117d58e86e56836f70c969f60a82" },
78
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },

0 commit comments

Comments
 (0)