summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/keymaps.lua
blob: 5243d8b06e4cda2775cd6427bd3771a4397bca6b (plain) (blame)
1
2
3
4
5
6
7
8
9
local map = vim.api.nvim_set_keymap
local cmd = vim.cmd
local options = { noremap=true }

map('i', '<C-h>', '<Left>', options)
map('i', '<C-j>', '<Down>', options)
map('i', '<C-k>', '<Up>', options)
map('i', '<C-l>', '<Right>', options)
map('i', '<C-L>', '<leader><space> :noh', options)
remember that computers suck.