Re: [CentOS] vi : unable to copy text to other file

2014-05-15 Thread Johan Vermeulen
op 15-05-14 15:07, Lorenzo Andretta schreef: > Hi, > why would you use vi and not vim? Vim is better! : P > if you can access the machine over ssh you can edit a file on the remote > host using this special path when opening it: > > vim scp://username@host//path/to/file/on/remote/host/filename.ext

Re: [CentOS] vi : unable to copy text to other file

2014-05-15 Thread Lorenzo Andretta
Hi, why would you use vi and not vim? Vim is better! : P if you can access the machine over ssh you can edit a file on the remote host using this special path when opening it: vim scp://username@host//path/to/file/on/remote/host/filename.extension or if you've already opened vim you can edit it b

Re: [CentOS] vi : unable to copy text to other file

2014-05-15 Thread anax
Mount the remote file system using sshfs suomi On 2014-05-15 13:15, Johan Vermeulen wrote: > Hello All, > > I'm trying to use vi commands instead of using the mouse. > > I open Gnome-Terminal > > I open a file : vi /home/jvermeulen/.ssh/id_dsa.pub > > I select the key with " V " ( visual line