nvim/lua/config/keymaps.lua

16 lines
519 B
Lua
Raw Normal View History

2024-06-17 15:22:39 +07:00
-- 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", "<c-d>", "<C-\\><C-n>", { silent = true, desc = "Exit Terminal Mode" })
if vim.fn.executable "lazygit" == 1 then
require "config.lazygit"
2024-08-18 18:08:48 +07:00
end
2024-08-14 23:12:33 +07:00
if vim.fn.executable "hyprctl" == 1 and vim.fn.executable "footclient" == 1 then
require "config.terminal"
end