-- Keymaps are automatically loaded on the VeryLazy event -- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua -- Add any additional keymaps here require "config.neovide" vim.keymap.set("t", "", "", { silent = true, desc = "Exit Terminal Mode" }) vim.keymap.set( "n", "z", function() local cwd = vim.fn.expand "%:p:h" vim.system { "hyprctl", "dispatch", "exec", "--", "foot", "--app-id=lazygit", "--title=lazygit", "--working-directory=" .. cwd, "--", "lazygit", } end, -- [[silent !foot --app-id=lazygit --working-directory=. -- lazygit]], { desc = "Open Lazygit" } ) vim.keymap.set("n", "", [[silent !footclient --no-wait]], { desc = "Open New terminal" })