From 4e5571915403a2edcdca9b3c9fc17e3c6e88e1ae Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sun, 8 May 2022 10:12:39 -0400 Subject: [PATCH] nvim: Add gg to open lazygit --- home/neovim.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/home/neovim.nix b/home/neovim.nix index c652260..8277fdf 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -29,7 +29,13 @@ in # For working mouse support when running inside tmux terminus - lazygit-nvim + { + plugin = lazygit-nvim; + type = "lua"; + config = '' + nmap("gg", ":LazyGit") + ''; + } (nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars)) # Preferred theme