feat: more actions for interacting with preview window (#41)
This commit is contained in:
parent
4e853eabcb
commit
b3c4ff340b
6 changed files with 166 additions and 19 deletions
|
|
@ -407,6 +407,7 @@ M.select = function(opts)
|
|||
})
|
||||
if opts.preview then
|
||||
vim.api.nvim_win_set_option(0, "previewwindow", true)
|
||||
vim.api.nvim_win_set_var(0, "oil_entry_id", entry.id)
|
||||
vim.api.nvim_set_current_win(prev_win)
|
||||
end
|
||||
-- Set opts.split so that for every entry after the first, we do a split
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue