Move keybindings to plugin files

This commit is contained in:
gmcmillan82 2024-05-14 09:19:07 +02:00
parent 43382cdbbc
commit 1645f2fbe9
3 changed files with 9 additions and 8 deletions

View file

@ -2,11 +2,12 @@ return {
{
'NeogitOrg/neogit',
dependencies = {
'nvim-lua/plenary.nvim', -- required
'sindrets/diffview.nvim', -- optional - Diff integration
-- Only one of these is needed, not both.
'nvim-telescope/telescope.nvim', -- optional
'nvim-lua/plenary.nvim',
'sindrets/diffview.nvim',
'nvim-telescope/telescope.nvim',
},
keys = {
{ '<leader>ng', ':Neogit cwd=%:p:h<CR>', desc = 'Open neogit repository for current buffer' },
},
config = function()
require('neogit').setup {