diff --git a/init.lua b/init.lua index f0c0a33f..b736b2db 100644 --- a/init.lua +++ b/init.lua @@ -248,6 +248,7 @@ rtp:prepend(lazypath) require('lazy').setup({ -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). 'NMAC427/guess-indent.nvim', -- Detect tabstop and shiftwidth automatically + 'github/copilot.vim', -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following @@ -436,6 +437,7 @@ require('lazy').setup({ vim.keymap.set('n', 'sr', builtin.resume, { desc = '[S]earch [R]esume' }) vim.keymap.set('n', 's.', builtin.oldfiles, { desc = '[S]earch Recent Files ("." for repeat)' }) vim.keymap.set('n', '', builtin.buffers, { desc = '[ ] Find existing buffers' }) + vim.keymap.set('n', 'cp', ':let @+=expand("%:p")') -- Slightly advanced example of overriding default behavior and theme vim.keymap.set('n', '/', function()