1
Fork 0

feat: started working on nvim config

This commit is contained in:
Matei Adriel 2022-01-30 20:10:57 +02:00
commit 860cb11bcc
10 changed files with 186 additions and 3 deletions
dotfiles/neovim/lua/my

View file

@ -0,0 +1,11 @@
local M = {}
local function map(mode, lhs, rhs, opts)
local options = {noremap = true}
if opts then options = vim.tbl_extend('force', options, opts) end
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
end
function M.setup()
map("i", "jj", "<Esc>") -- Remap Esc to
end