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:
parent
2f13f947ef
commit
dbdb33846a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user