nvim/lua/config/keymaps.lua

15 lines
484 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" })
2024-07-29 13:51:08 +07:00
vim.keymap.set(
"n",
"<leader>z",
"<cmd>!zellij run --close-on-exit --in-place --name lazygit -- lazygit<cr>",
{ desc = "Open Lazygit" }
)