From 7916671de56bec7b1897ab6bbdf4b5d1bc441210 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Sun, 22 Mar 2020 21:45:20 +0100 Subject: Add to open file immediately after selection --- fzf-open.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fzf-open.lua b/fzf-open.lua index 468625e..36c4739 100644 --- a/fzf-open.lua +++ b/fzf-open.lua @@ -26,7 +26,7 @@ vis:command_register("fzf", function(argv, force, win, selection, range) if status == 0 then -- vis:command(string.format("e '%s'", output)) - vis:feedkeys(string.format(":e '%s'", output)) + vis:feedkeys(string.format(":e '%s'", output)) elseif status == 1 then vis:info(string.format("fzf-open: No match. Command %s exited with return value %i." , command, status)) elseif status == 2 then -- cgit