feat: action to open entry in new tab (#52)
This commit is contained in:
parent
0e53d40221
commit
48eec8b7ef
5 changed files with 23 additions and 3 deletions
|
|
@ -4,6 +4,7 @@ describe("url", function()
|
|||
it("get_url_for_path", function()
|
||||
local cases = {
|
||||
{ "", "oil://" .. util.addslash(vim.fn.getcwd()) },
|
||||
{ "term://~/oil.nvim//52953:/bin/bash", "oil://" .. vim.loop.os_homedir() .. "/oil.nvim/" },
|
||||
{ "/foo/bar.txt", "oil:///foo/", "bar.txt" },
|
||||
{ "oil:///foo/bar.txt", "oil:///foo/", "bar.txt" },
|
||||
{ "oil:///", "oil:///" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue