feat: add lazygit and vim-sleuth
This commit is contained in:
parent
f58d0b9e8c
commit
19989be42b
3 changed files with 21 additions and 2 deletions
|
|
@ -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";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue