From 939a1c7fdeb115d8149edc1b5833f49a41ff85d6 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sat, 11 Apr 2026 19:31:16 -0500 Subject: [PATCH 1/3] add the remote sshfs plugin --- lua/custom/plugins/remote-sshfs.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lua/custom/plugins/remote-sshfs.lua diff --git a/lua/custom/plugins/remote-sshfs.lua b/lua/custom/plugins/remote-sshfs.lua new file mode 100644 index 00000000..9d51315c --- /dev/null +++ b/lua/custom/plugins/remote-sshfs.lua @@ -0,0 +1,5 @@ +return { + 'nosduco/remote-sshfs.nvim', + dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' }, + opts = {}, +} From 5cd972fd06ebf2aa54d248a24722866d57ea93a3 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sat, 11 Apr 2026 19:32:58 -0500 Subject: [PATCH 2/3] comment for remote sshfs plugin usage --- lua/custom/plugins/remote-sshfs.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/custom/plugins/remote-sshfs.lua b/lua/custom/plugins/remote-sshfs.lua index 9d51315c..8c64b6c2 100644 --- a/lua/custom/plugins/remote-sshfs.lua +++ b/lua/custom/plugins/remote-sshfs.lua @@ -1,3 +1,4 @@ +-- Usage: :RemoteSSHFSConnect @:/path/to/file return { 'nosduco/remote-sshfs.nvim', dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' }, From 85d4b8dfc5fbf3f2b036146998a2fc1648946b4e Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Tue, 28 Apr 2026 19:32:38 -0500 Subject: [PATCH 3/3] add documentation comments for using remote sshfs --- init.lua | 1 + lua/custom/plugins/remote-sshfs.lua | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 01daf5f4..a18a5629 100644 --- a/init.lua +++ b/init.lua @@ -711,6 +711,7 @@ require('lazy').setup({ -- python = { "isort", "black" }, -- -- You can use 'stop_after_first' to run the first available formatter from the list + json = { 'prettierd', 'prettier', stop_after_first = true }, javascript = { 'prettierd', 'prettier', stop_after_first = true }, typescript = { 'prettierd', 'prettier', stop_after_first = true }, typescriptreact = { 'prettierd', 'prettier', stop_after_first = true }, diff --git a/lua/custom/plugins/remote-sshfs.lua b/lua/custom/plugins/remote-sshfs.lua index 8c64b6c2..dda4fd04 100644 --- a/lua/custom/plugins/remote-sshfs.lua +++ b/lua/custom/plugins/remote-sshfs.lua @@ -1,6 +1,10 @@ --- Usage: :RemoteSSHFSConnect @:/path/to/file return { 'nosduco/remote-sshfs.nvim', dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' }, opts = {}, } + +-- Usage: :RemoteSSHFSConnect @:/path/to/file +-- Sometimes you have to force close, and that causes permission failed on reconnect. +-- When that happens DO NOT DELETE THE DIRECTORY under .sshfd. That will delete everything that mountpoint is connected to *at the connection* +-- Instead safely unmount with `umount -l ~/.sshfd/[MOUNT_POINT]`