idr important stuff
This commit is contained in:
1 parent
d00a914e63
commit
c4f2a1e4cb
5 files changed
+31
-18
No files matched your search
@@ -4,7 +4,9 @@ local opts = { noremap = true, silent = true }
|
||||
local mapping = {}
|
||||
mapping.map = function(mode, from, to) vim.keymap.set(mode, from, to, opts) end
|
||||
mapping.nmap = function(from, to) vim.keymap.set('n', from, to, opts) end
|
||||
mapping.cmd = function(content) return '<cmd>' .. content .. '<cr>' end
|
||||
mapping.cmd = function(from, content)
|
||||
vim.keymap.set('n', from, '<cmd>' .. content .. '<cr>', opts)
|
||||
end
|
||||
|
||||
-- layout (mapping)
|
||||
local layout = {}
|
||||
|
||||
Reference in new issue
Block a user