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 = {
|
programs.lazyvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pluginSource = "nixpkgs";
|
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
nixd
|
nixd
|
||||||
alejandra
|
alejandra
|
||||||
|
|
@ -23,8 +22,27 @@
|
||||||
plugins.catppuccin = ''
|
plugins.catppuccin = ''
|
||||||
return { "LazyVim/LazyVim", opts = { colorscheme = "catppuccin" } }
|
return { "LazyVim/LazyVim", opts = { colorscheme = "catppuccin" } }
|
||||||
'';
|
'';
|
||||||
plugins.neogit = ''
|
plugins.fugit = ''
|
||||||
return { "NeogitOrg/neogit", opts = {}, keys = { { "<leader>gg", "<cmd>Neogit<cr>" } } }
|
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 = ''
|
plugins.nix = ''
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue