aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
authorTom Harned <thomas.harned@gmail.com>2021-04-12 22:46:03 -0400
committerMatěj Cepl <mcepl@cepl.eu>2021-04-13 12:04:15 +0200
commitb1666a31e14338ff1bba0b39c729016048ca4b2d (patch)
treead29a5f089c3eb645bb435863e3106b28fe61bce /init.lua
parent3d5d1d5cff06de622382da2fd4cd698b75039857 (diff)
downloadvis-fzf-open-b1666a31e14338ff1bba0b39c729016048ca4b2d.tar.gz
Add ':' to string passed to vis:feedkeys
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 2b78d41..47386a5 100644
--- a/init.lua
+++ b/init.lua
@@ -45,7 +45,7 @@ vis:command_register("fzf", function(argv, force, win, selection, range)
elseif output[1] == 'ctrl-v' then action = 'vsplit'
end
- vis:feedkeys(string.format("%s '%s'<Enter>", action, output[2]))
+ vis:feedkeys(string.format(":%s '%s'<Enter>", action, output[2]))
elseif status == 1 then
vis:info(
string.format(