add lazygit and telescope
This commit is contained in:
parent
782db01732
commit
5a0a691361
3 changed files with 237 additions and 0 deletions
21
config/plugins/git/lazygit.nix
Normal file
21
config/plugins/git/lazygit.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
lazygit-nvim
|
||||
];
|
||||
|
||||
extraConfigLua = ''
|
||||
require("telescope").load_extension("lazygit")
|
||||
'';
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>gg";
|
||||
action = "<cmd>LazyGit<CR>";
|
||||
options = {
|
||||
desc = "LazyGit (root dir)";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue