Skip to content
Discussion options

You must be logged in to vote

I've ended up excluding the fzf filetype from the lazygit keymap:

			vim.api.nvim_create_autocmd("FileType", {
				pattern = "*",
				callback = function(args)
					if vim.bo[args.buf].filetype ~= "fzf" then
						vim.keymap.set(
							{ "n", "t" },
							"<C-g>",
							Lazygit_toggle,
							{ buffer = args.buf, noremap = true, silent = true }
						)
					end
				end,

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dudicoco
Comment options

@ibhagwan
Comment options

@dudicoco
Comment options

Answer selected by dudicoco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants