I am trying to enable a keymap for Lazygit. I have added the following into my tmux.conf:
set -g @plugin 'kdheepak/lazygit.nvim'
And have added the following to my keymaps.lua:
-- Keymap for launching Lazygit by hitting space+gg
vim.keymap.set('n', '<space>gg', ':LazyGit<CR>')
However, I get a pop-up saying LazyGit isn’t an available command. If I open a terminal and simply run the Lazygit command, it does open Lazygit.
I know I am missing something, I just don’t know what. I am using this guy’s pre-built configuration for Tmux, Nvim and so on: https://github.com/omerxx/dotfiles
I don’t want to be spoon-fed necessarily, but if someone could take a peek at the github repository, and tell me what I need to add where. I am very new to Nvim and all of that ecosystem, learning by troubleshooting, but I’ve been breaking my head over this the past few hours.
Thank you all.