mirror of
https://github.com/softinio/nvim-config.git
synced 2025-09-03 16:16:42 -07:00
migrate to lazy.nvim
This commit is contained in:
parent
4a91484477
commit
34e314944e
22 changed files with 570 additions and 892 deletions
18
lua/plugins/neogit.lua
Normal file
18
lua/plugins/neogit.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
return {
|
||||
"TimUntersberger/neogit",
|
||||
cmd = "Neogit",
|
||||
dependencies = { "sindrets/diffview.nvim" },
|
||||
config = function()
|
||||
require("neogit").setup({
|
||||
integrations = {
|
||||
diffview = true,
|
||||
},
|
||||
})
|
||||
vim.api.nvim_set_keymap(
|
||||
"n",
|
||||
"<leader>ng",
|
||||
[[<cmd>lua require('neogit').open({ kind = "split" })<cr>]],
|
||||
{ noremap = true, silent = true }
|
||||
)
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue