mirror of
https://github.com/harivansh-afk/oil.nvim.git
synced 2026-04-15 13:03:45 +00:00
WIP: experiment with netman.nvim
Working proof-of-concept that has functional browsing. Remaining work: * Figure out how the url scheme should work (esp with multiple netman providers) * Column definitions * Normalize buffer names * Check if directory is modifiable * Render actions * Perform actions * Perform actions across adapters
This commit is contained in:
parent
bcb99ae95a
commit
ecb3695afe
2 changed files with 152 additions and 2 deletions
|
|
@ -66,11 +66,13 @@ local default_config = {
|
|||
default_config.adapters = {
|
||||
["oil://"] = "files",
|
||||
["oil-ssh://"] = "ssh",
|
||||
-- XXX need to rethink the url schemes
|
||||
["oil-nm://"] = "netman_ssh",
|
||||
}
|
||||
-- When opening the parent of a file, substitute these url schemes
|
||||
default_config.remap_schemes = {
|
||||
["scp://"] = "oil-ssh://",
|
||||
["sftp://"] = "oil-ssh://",
|
||||
["scp://"] = "oil-nm://",
|
||||
["sftp://"] = "oil-nm://",
|
||||
}
|
||||
|
||||
local M = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue