This repo is fork from code-connect Thanks for this cool repo.
rcode_demo.mp4
- PyPI
- support local open remote dir command
rcode ${ssh_name} ${ssh_dir}
- support cursor to open remote dir command
rcursor ${ssh_name} ${ssh_dir}
- you can also open dir from remote to local
cursor
justcursor ${dir_name}
- pip3 install rcode (or clone it pip3 install .)
- install socat like: (sudo yum install socat)
- just
rcode file
like your VSCodecode .
- or use cursor just
cursor .
- local open remote use rcode if you use
.ssh/config
-->rcode remote_ssh ~/test
- local open latest remote
.ssh/config
-->rcode -l or rcode --latest
- add shortcut_name
rcode s ~/abc -sn abc
then you can usercode -os abc
to open this dir quickly - support cursor to open remote dir command
rcursor ${ssh_name} ${ssh_dir}
Note:
- Be sure to connect to the remote host first before typing any
rcode
in the terminal- We may want to add
~/.local/bin
in to your$PATH
in your~/.zshrc
or~/.bashrc
to enablercode
being resolved properly- export PATH=$PATH:/usr/local/go/bin + export PATH=$PATH:/usr/local/go/bin:~/.local/bin