dotfiles/home/private_dot_config/nvim/lua/keybindings.lua
Daylin Morgan 5acfc464dc refactor fzf.zsh
WIP

wip: add whitespace that isn't tidy.nvim
2022-01-24 12:57:45 -06:00

14 lines
260 B
Lua

-- Map a key with optional options
function map(mode, keys, action, options)
if options == nil then
options = {}
end
vim.api.nvim_set_keymap(mode,keys,action,options)
end
map('i','jk','<Esc>',{noremap=true})
map('v','jk','<Esc>',{noremap=true})