nvim-sshfs
nvim-sshfs copied to clipboard
Feature Request: Support custom ssh config location
Hello, and thanks for an amazing plugin.
I heavily utilize the ssh -F /path/to/.ssh/config flag to separate my own hosts from my work hosts.
Would be great if this plugin supported declaring an ssh config location, even better if it could be set with a command at any time.
It's easier with e.g. git as it supports ENV configuration, so I can just set runtime vim.env.GIT_CONFIG_GLOBAL in init.lua and all my git-related plugins inside the Neovim instance work as expected as this is handled by the git executable they run under the hood.
Unfortunately, AFAIK ssh does not support ENV configuration, only command flag, so this has to be handled by the wrapper.