lazygit: added wezterm class to lazygit command.

This will allow Hyprland to swallow the neovim window when lazygit is opened.
This commit is contained in:
Tigor Hutasuhut 2024-08-14 11:17:04 +07:00
parent c9ceb750d5
commit 5624e2f694

View file

@ -6,4 +6,9 @@ require "config.neovide"
vim.keymap.set("t", "<c-d>", "<C-\\><C-n>", { silent = true, desc = "Exit Terminal Mode" })
vim.keymap.set("n", "<leader>z", "<cmd>silent !wezterm start --cwd . -- lazygit<cr>", { desc = "Open Lazygit" })
vim.keymap.set(
"n",
"<leader>z",
"<cmd>silent !wezterm start --class lazygit --cwd . -- lazygit<cr>",
{ desc = "Open Lazygit" }
)