feat: Add ability to choose window to edit (#745)
This commit is contained in:
@@ -787,6 +787,20 @@ append(
|
||||
Default: nil]]
|
||||
)
|
||||
|
||||
append(
|
||||
"get_selection_window",
|
||||
function()
|
||||
return 0
|
||||
end,
|
||||
[[
|
||||
Function that takes function(picker, entry) and returns a window id.
|
||||
The window ID will be used to decide what window the chosen file will
|
||||
be opened in and the cursor placed in upon leaving the picker.
|
||||
|
||||
Default: `function() return 0 end`
|
||||
]]
|
||||
)
|
||||
|
||||
append(
|
||||
"file_previewer",
|
||||
function(...)
|
||||
|
||||
Reference in New Issue
Block a user