mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Add gitsigns and vim-fugitive to neovim
This commit is contained in:
parent
9075dae487
commit
04f2d7627d
1 changed files with 15 additions and 0 deletions
15
modules/home-manager/files/nvim/lua/plugins/git-stuff.lua
Normal file
15
modules/home-manager/files/nvim/lua/plugins/git-stuff.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
{
|
||||
"lewis6991/gitsigns.nvim",
|
||||
config = function()
|
||||
require("gitsigns").setup({
|
||||
current_line_blame = true,
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<leader gp", ":Gitsigns preview_hunk<CR>", {})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"tpope/vim-fugitive",
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue