lazygit: remove lazygit config
This commit is contained in:
parent
ebac538a83
commit
7cfd09db78
|
@ -6,10 +6,6 @@ require "config.neovide"
|
|||
|
||||
vim.keymap.set("t", "<c-d>", "<C-\\><C-n>", { silent = true, desc = "Exit Terminal Mode" })
|
||||
|
||||
if vim.fn.executable "lazygit" == 1 then
|
||||
require "config.lazygit"
|
||||
end
|
||||
|
||||
if vim.env.HYPRLAND_INSTANCE_SIGNATURE ~= nil and vim.fn.executable "footclient" == 1 then
|
||||
require "config.terminal"
|
||||
end
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
-- if vim.env.ZELLIJ ~= nil and not vim.g.neovide then
|
||||
-- -- currently running inside zellij session and not inside neovide
|
||||
-- vim.keymap.set("n", "<leader>z", function()
|
||||
-- local cwd = vim.fn.expand "%:p:h"
|
||||
-- vim.system {
|
||||
-- "zellij",
|
||||
-- "run",
|
||||
-- "--close-on-exit",
|
||||
-- "--cwd",
|
||||
-- cwd,
|
||||
-- "--in-place",
|
||||
-- "--",
|
||||
-- "lazygit",
|
||||
-- }
|
||||
-- end, { desc = "Open Lazygit (Zellij)" })
|
||||
-- elseif vim.env.HYPRLAND_INSTANCE_SIGNATURE ~= nil and vim.fn.executable "foot" == 1 then
|
||||
-- vim.keymap.set("n", "<leader>z", function()
|
||||
-- vim.system {
|
||||
-- "hyprctl",
|
||||
-- "dispatch",
|
||||
-- "exec",
|
||||
-- "--",
|
||||
-- "foot",
|
||||
-- "--app-id=lazygit",
|
||||
-- "--title=lazygit",
|
||||
-- "--working-directory=" .. vim.fn.getcwd(),
|
||||
-- "--",
|
||||
-- "lazygit",
|
||||
-- }
|
||||
-- end, { desc = "Open Lazygit (Foot)" })
|
||||
-- end
|
Loading…
Reference in a new issue