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:
Steven Arcangeli 2023-01-11 23:36:34 -08:00
parent bcb99ae95a
commit ecb3695afe
2 changed files with 152 additions and 2 deletions

View file

@ -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 = {}