feat: action to open entry in new tab (#52)

This commit is contained in:
Steven Arcangeli 2023-01-28 16:19:45 -08:00
parent 0e53d40221
commit 48eec8b7ef
5 changed files with 23 additions and 3 deletions

View file

@ -30,6 +30,13 @@ M.select_split = {
end,
}
M.select_tab = {
desc = "Open the entry under the cursor in a new tab",
callback = function()
oil.select({ tab = true })
end,
}
M.preview = {
desc = "Open the entry under the cursor in a preview window, or close the preview window if already open",
callback = function()