From c7972483e9290c6e0dde8ea6a4f68707a0f9d45c Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Wed, 1 Jul 2026 13:47:17 -0500 Subject: [PATCH] configure remote sshfs with vim pack --- doc/smoketest.md | 2 ++ lua/custom/plugins/remote-sshfs.lua | 13 ++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/doc/smoketest.md b/doc/smoketest.md index 1dcea1b5..1f2d0e73 100644 --- a/doc/smoketest.md +++ b/doc/smoketest.md @@ -16,6 +16,8 @@ A manual smoketest checklist to ensure features are working: - `` should open a terminal - [ ] VimTmuxNavigator - Should be able to navigate between nvim and tmux panes using ``, ``, ``, `` for each respective direction +- [ ] Remote SSHFS + - Should be able to remotely access a directory using the `:RemoteSSHFSConnect` command - [ ] Guttermarks - Marks (place a mark with `m`) should be displayed in the gutter by their character diff --git a/lua/custom/plugins/remote-sshfs.lua b/lua/custom/plugins/remote-sshfs.lua index dda4fd04..a5937a27 100644 --- a/lua/custom/plugins/remote-sshfs.lua +++ b/lua/custom/plugins/remote-sshfs.lua @@ -1,8 +1,11 @@ -return { - 'nosduco/remote-sshfs.nvim', - dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' }, - opts = {}, -} +-- return { +-- 'nosduco/remote-sshfs.nvim', +-- dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' }, +-- opts = {}, +-- } + +vim.pack.add { "https://github.com/nosduco/remote-sshfs.nvim"} +require('remote-sshfs').setup() -- Usage: :RemoteSSHFSConnect @:/path/to/file -- Sometimes you have to force close, and that causes permission failed on reconnect.