vim.g.mapleader = ' ' function _G.map(mapping, opts) vim.keymap.set( mapping[1], mapping[2], mapping[3], vim.tbl_extend('keep', opts or {}, { silent = true }) ) end function _G.bmap(mapping, opts) _G.map(mapping, vim.tbl_extend('force', opts or {}, { buffer = 0 })) end require('config.pack')