feat: add lazygit and vim-sleuth

This commit is contained in:
antoine 2026-04-06 10:55:52 +02:00
parent f58d0b9e8c
commit 19989be42b
Signed by: antoine
GPG key ID: 9EB6BAADC51B6133
3 changed files with 21 additions and 2 deletions

View file

@ -4,6 +4,9 @@
comments.comment-nvim.enable = true;
extraPlugins = with pkgs.vimPlugins; {
vim-sleuth = {
package = vim-sleuth;
};
flash-nvim = {
package = flash-nvim;
setup = ''require("flash").setup({})'';

View file

@ -1,6 +1,22 @@
{...}: {
{pkgs, ...}: {
vim.git = {
gitsigns.enable = true;
vim-fugitive.enable = true;
};
vim.extraPlugins = with pkgs.vimPlugins; {
lazygit-nvim = {
package = lazygit-nvim;
setup = ''require("lazygit").setup({})'';
};
};
vim.keymaps = [
{
key = "<leader>gg";
mode = ["n"];
action = "<cmd>LazyGit<CR>";
desc = "LazyGit";
}
];
}