no need to tac
This commit is contained in:
parent
1956fa39f2
commit
d879003a51
@ -62,7 +62,7 @@ end)
|
|||||||
-- Fuzzy search lines to copy them
|
-- Fuzzy search lines to copy them
|
||||||
|
|
||||||
vis:map(vis.modes.NORMAL, ";r", function()
|
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
|
if choice then
|
||||||
local line = vis.win.selection.line
|
local line = vis.win.selection.line
|
||||||
table.insert(vis.win.file.lines, line + 1, choice)
|
table.insert(vis.win.file.lines, line + 1, choice)
|
||||||
|
Loading…
Reference in New Issue
Block a user