feat: Add ability to choose window to edit (#745)

This commit is contained in:
TJ DeVries
2022-05-15 16:08:16 -04:00
committed by GitHub
parent 2e421ef02d
commit 0b5f1d69d7
4 changed files with 30 additions and 1 deletions

View File

@@ -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(...)