mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 17:49:57 +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')
|
open_item('tabedit')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local function open_item_vertically()
|
||||||
|
open_item('vsplit')
|
||||||
|
end
|
||||||
|
|
||||||
|
local function open_item_horizontally()
|
||||||
|
open_item('split')
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
local function move_cursor()
|
local function move_cursor()
|
||||||
if vim.v.mouse_winid == flygrep_win_id then
|
if vim.v.mouse_winid == flygrep_win_id then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user