coding style - How do you edit files over SSH? -
I use programs with Eclipse and sometimes GUI text editors like SECTE or VIM. However, I am at a point in the project that I need to edit files on an SSH connection in an 80 column SSH window.
Before opening the file (* shudder) sudo vim
, I'm not sure how to open a file in an editor outside the terminal (which Allow me to see extensive text from 80 columns) If the command line was bigger then I think there would be no problem using Vim directly.
I have had a loss of this situation and how can I change this nightmare in a manageable coding environment?
Maybe you should mount the remote filesystem on your local machine and then whatever editor you would prefer . On running Debian derivative, install sshfs
install sudo aptitude sshfs
and then mount remote file system like this
< Pre> Mkdir ~ / remote_code sshfs remote.example.com:/home/$USER/code ~ / remote_code
Once this is done, you get ~ / remote_code w / Any of the codes can access SSH-X without your GUI tool and bandwidth overhead (though you still need a good connection w / a short ping time).
PS: When I am using ssh, I can extend the terminal, my screen fits and then uses its full width, so I'm afraid that I will complete your problem I can not understand like that.
Comments
Post a Comment