From af6b855bc323c97c0ec8087ef8b383056e315dbf Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Wed, 15 Apr 2020 00:37:50 +0200 Subject: [PATCH] Show lower lines first --- config/vis/visrc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/vis/visrc.lua b/config/vis/visrc.lua index 9bdcb55..96cbfe6 100644 --- a/config/vis/visrc.lua +++ b/config/vis/visrc.lua @@ -51,7 +51,7 @@ vis:map(vis.modes.NORMAL, ";o", function() end) vis:map(vis.modes.NORMAL, ";r", function() - local choice = io.popen('fzf < ' .. vis.win.file.path):read() + local choice = io.popen('tac < ' .. vis.win.file.path .. ' | fzf'):read() if choice then local line = vis.win.selection.line table.insert(vis.win.file.lines, line + 1, choice)