Move keybindings to plugin files
This commit is contained in:
parent
43382cdbbc
commit
1645f2fbe9
3 changed files with 9 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue