Skip to content

Commit

Permalink
Merge pull request #118 from MikaelFangel/init-lazygit
Browse files Browse the repository at this point in the history
Init lazygit
  • Loading branch information
MikaelFangel authored Oct 27, 2024
2 parents 4199cfe + 72e9349 commit 8ec0da0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
./utils/auto-pairs.nix
./utils/autosave.nix
./utils/blankline.nix
./utils/lazygit.nix
./utils/telescope.nix
./utils/toggleterm.nix
./utils/which-key.nix
Expand Down Expand Up @@ -171,6 +172,16 @@
options.desc = "Go to the previous tab";
}

# LazyGit
{
mode = "n";
key = "<leader>lg";
action = "<cmd>LazyGit<CR>";
options = {
desc = "LazyGit";
};
}

# Terminal
{
# Escape terminal mode using ESC
Expand Down
5 changes: 5 additions & 0 deletions config/utils/lazygit.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
plugins.lazygit = {
enable = true;
};
}

0 comments on commit 8ec0da0

Please sign in to comment.