local opts = { noremap = true, silent = true } local map = vim.api.nvim_set_keymap map("", "", "", opts) vim.g.mapleader = " " vim.g.maplocalleader = " " -- Window Navigation without needing first map("n", "", "h", opts) map("n", "", "j", opts) map("n", "", "k", opts) map("n", "", "l", opts) -- Resize with C-arrow map("n", "", "resize -2", opts) map("n", "", "resize +2", opts) map("n", "", "vertical resize -2", opts) map("n", "", "vertical resize +2", opts)