Show lower lines first
This commit is contained in:
parent
5da1ef8486
commit
af6b855bc3
@ -51,7 +51,7 @@ vis:map(vis.modes.NORMAL, ";o", function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
vis:map(vis.modes.NORMAL, ";r", function()
|
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
|
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