1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:30:05 +08:00

feat(flygrep): add open_item_vertically/horizontally function

This commit is contained in:
wsdjeg 2022-10-07 23:01:51 +08:00
parent 2f13f947ef
commit dbdb33846a

View File

@ -315,6 +315,14 @@ local function open_item_in_tab()
open_item('tabedit')
end
local function open_item_vertically()
open_item('vsplit')
end
local function open_item_horizontally()
open_item('split')
end
local function move_cursor()
if vim.v.mouse_winid == flygrep_win_id then