summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/util.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/util.lua b/lua/util.lua
new file mode 100644
index 0000000..d1f08b8
--- /dev/null
+++ b/lua/util.lua
@@ -0,0 +1,7 @@
+local M = {}
+
+M.nn = function(lh, rh)
+ vim.keymap.set('n', lh, rh, { noremap = true, silent = true })
+end
+
+return M