19 lines
630 B
Lua
19 lines
630 B
Lua
-- 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" })
|
|
|
|
-- LazyVim hardcode tabs to jump snippet completions. Very fucking annoying.
|
|
vim.keymap.del({ "i" }, "<tab>")
|
|
vim.keymap.del({ "i" }, "<s-tab>")
|
|
|
|
vim.keymap.set(
|
|
"n",
|
|
"<leader>z",
|
|
"<cmd>!zellij run --close-on-exit --in-place --name lazygit -- lazygit<cr>",
|
|
{ desc = "Open Lazygit" }
|
|
)
|