Files
system-config/home-manager/features/neovim/config/lua/config/keymaps.lua
T
2026-07-06 16:17:36 -07:00

8 lines
409 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
for _, map in ipairs({ { "<C-up>", "k" }, { "<C-down>", "j" }, { "<C-left>", "h" }, { "<C-right>", "l" } }) do
vim.keymap.set("n", map[1], "<C-w>" .. map[2], { noremap = true, silent = true })
end