vim: neogit

This commit is contained in:
Casper V. Kristensen 2024-08-18 03:03:51 +02:00
parent 6b33fe8c59
commit 1661e9769e

View file

@ -651,6 +651,22 @@
''; '';
} }
# An interactive and powerful Git interface for Neovim, inspired by
# Magit.
# https://github.com/NeogitOrg/neogit
{
plugin = neogit;
type = "lua";
config =
/*
lua
*/
''
require("neogit").setup({})
vim.keymap.set("n", "<Leader>gg", vim.cmd.Neogit)
'';
}
# Single tabpage interface for easily cycling through diffs for all # Single tabpage interface for easily cycling through diffs for all
# modified files for any git rev. # modified files for any git rev.
# https://github.com/sindrets/diffview.nvim # https://github.com/sindrets/diffview.nvim
@ -686,13 +702,8 @@
''; '';
} }
# TODO!
vim-fugitive
# mini-nvim # mini-nvim
# popup file-tree/viewer??
# TODO: popup file-tree/viewer??
# nvim-colorizer-lua # show colours in colours # nvim-colorizer-lua # show colours in colours
# vim-matchup # better % # vim-matchup # better %
# nvim-dap # debug adapter protocol # nvim-dap # debug adapter protocol