This commit is contained in:
2025-10-29 11:07:32 +01:00
parent 53a7392fdb
commit 29f5519325
4 changed files with 67 additions and 5 deletions

View File

@@ -51,6 +51,11 @@ vim.keymap.set("v", ">", ">gv", {desc = "Indent right and reselect"})
-- Terminal
vim.keymap.set("t", "<C-c>", [[<C-\><C-n>]], {silent = true, noremap = true})
vim.keymap.set("t", "<C-h>", [[ <C-c><C-w>h ]], {silent = true, noremap=true})
vim.keymap.set("t", "<C-j>", [[ <C-c><C-w>j ]], {silent = true, noremap=true})
vim.keymap.set("t", "<C-k>", [[ <C-c><C-w>k ]], {silent = true, noremap=true})
vim.keymap.set("t", "<C-l>", [[ <C-c><C-w>l ]], {silent = true, noremap=true})
vim.keymap.set("t", "<C-w>", [[ <C-c><C-w>w ]], {silent = true, noremap=true})
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then