no need to tac

This commit is contained in:
Felix Van der Jeugt 2020-11-13 11:25:53 +01:00
parent 1956fa39f2
commit d879003a51
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ end)
-- Fuzzy search lines to copy them
vis:map(vis.modes.NORMAL, ";r", function()
local choice = io.popen('sk --tac < ' .. vis.win.file.path):read()
local choice = io.popen('sk < ' .. vis.win.file.path):read()
if choice then
local line = vis.win.selection.line
table.insert(vis.win.file.lines, line + 1, choice)