summary refs log tree commit diff
path: root/.vim/plugin/_globals.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/plugin/_globals.lua')
-rw-r--r--.vim/plugin/_globals.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vim/plugin/_globals.lua b/.vim/plugin/_globals.lua
new file mode 100644
index 0000000..5bf99a4
--- /dev/null
+++ b/.vim/plugin/_globals.lua
@@ -0,0 +1,3 @@
+_G.feedkeys = function(keys)
+  vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes(keys, true, false, true), 'n', true)
+end