Skip to content

Commit 4433909

Browse files
committed
Update README.md
1 parent 6346b9a commit 4433909

1 file changed

Lines changed: 28 additions & 3 deletions

File tree

README.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@ CATEGORY:
3838
client
3939
4040
OPTIONS:
41-
--ssh-path value Path to SSH binary. Defaults to ssh on Unix, C:\Windows\System32\OpenSSH\ssh.exe on Windows (default: "ssh") [$NVRH_CLIENT_SSH_PATH]
41+
--ssh-path value Path to SSH binary. 'binary' will use the default system SSH binary. 'internal' will use the internal SSH client. Anything else will be used as the path to the SSH binary (default: "binary") [$NVRH_CLIENT_SSH_PATH]
4242
--use-ports Use ports instead of sockets. Defaults to true on Windows (default: false) [$NVRH_CLIENT_USE_PORTS]
4343
--debug (default: false) [$NVRH_CLIENT_DEBUG]
44-
--server-env value [ --server-env value ] Environment variables to set on the remote server
45-
--local-editor value [ --local-editor value ] Local editor to use. {{SOCKET_PATH}} will be replaced with the socket path (default: "nvim", "--server", "{{SOCKET_PATH}}", "--remote-ui")
44+
--server-env value [ --server-env value ] Environment variables to set on the remote server [$NVRH_CLIENT_SERVER_ENV]
45+
--local-editor value [ --local-editor value ] Local editor to use. {{SOCKET_PATH}} will be replaced with the socket path (default: "nvim", "--server", "{{SOCKET_PATH}}", "--remote-ui") [$NVRH_CLIENT_LOCAL_EDITOR]
46+
--nvim-cmd nvim [ --nvim-cmd nvim ] Command to run nvim with. Defaults to nvim (default: "nvim") [$NVRH_CLIENT_NVIM_CMD]
47+
--ssh-arg value [ --ssh-arg value ] Additional arguments to pass to the SSH command [$NVRH_CLIENT_SSH_ARG]
4648
--help, -h show help
4749
```
4850

@@ -56,6 +58,29 @@ nvrh client open \
5658
--local-editor {{SOCKET_PATH}}
5759
```
5860

61+
### `nvrh client reconnect`
62+
63+
Reconnect to an existing nvrh session.
64+
65+
```
66+
NAME:
67+
nvrh client reconnect - Reconnect to an existing remote nvim instance
68+
69+
USAGE:
70+
nvrh client reconnect [command options] <server> <session-id>
71+
72+
CATEGORY:
73+
client
74+
75+
OPTIONS:
76+
--ssh-path value Path to SSH binary. 'binary' will use the default system SSH binary. 'internal' will use the internal SSH client. Anything else will be used as the path to the SSH binary (default: "binary") [$NVRH_CLIENT_SSH_PATH]
77+
--use-ports Use ports instead of sockets. Defaults to true on Windows (default: false) [$NVRH_CLIENT_USE_PORTS]
78+
--debug (default: false) [$NVRH_CLIENT_DEBUG]
79+
--local-editor value [ --local-editor value ] Local editor to use. {{SOCKET_PATH}} will be replaced with the socket path (default: "nvim", "--server", "{{SOCKET_PATH}}", "--remote-ui") [$NVRH_CLIENT_LOCAL_EDITOR]
80+
--ssh-arg value [ --ssh-arg value ] Additional arguments to pass to the SSH command [$NVRH_CLIENT_SSH_ARG]
81+
--help, -h show help
82+
```
83+
5984
### `:NvrhTunnelPort`
6085

6186
https://github.com/user-attachments/assets/4a8c302e-4e49-4f74-81a3-ac86ba33016a

0 commit comments

Comments
 (0)