feat: fugit2, a different, nicer neogit
This commit is contained in:
parent
f56047b966
commit
6eb6a220e2
1 changed files with 21 additions and 3 deletions
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
programs.lazyvim = {
|
||||
enable = true;
|
||||
pluginSource = "nixpkgs";
|
||||
extraPackages = with pkgs; [
|
||||
nixd
|
||||
alejandra
|
||||
|
|
@ -23,8 +22,27 @@
|
|||
plugins.catppuccin = ''
|
||||
return { "LazyVim/LazyVim", opts = { colorscheme = "catppuccin" } }
|
||||
'';
|
||||
plugins.neogit = ''
|
||||
return { "NeogitOrg/neogit", opts = {}, keys = { { "<leader>gg", "<cmd>Neogit<cr>" } } }
|
||||
plugins.fugit = ''
|
||||
return {
|
||||
'SuperBo/fugit2.nvim',
|
||||
build = true,
|
||||
opts = {
|
||||
libgit2_path = "${pkgs.libgit2}/lib/libgit2.so"
|
||||
},
|
||||
dependencies = {
|
||||
'MunifTanjim/nui.nvim',
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
'nvim-lua/plenary.nvim',
|
||||
{
|
||||
'chrisgrieser/nvim-tinygit',
|
||||
dependencies = { 'stevearc/dressing.nvim' }
|
||||
},
|
||||
},
|
||||
cmd = { 'Fugit2', 'Fugit2Diff', 'Fugit2Graph' },
|
||||
keys = {
|
||||
{ '<leader>gg', mode = 'n', '<cmd>Fugit2<cr>' }
|
||||
}
|
||||
}
|
||||
'';
|
||||
plugins.nix = ''
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue