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

Thu May 15 12:57:42 UTC 2014
anax <anax at ayni.com>

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 )
>
> I type " y " to yank the selected line.
>
> I can now use
>    :e otherfile.txt
> and paste the text in otherfile.txt
>
> This is the only way I succeed in copying text to another file in
> Gnome-Terminal of xterm.
>
> But how can I copy text to a file on a remote machine?
>
> Many thanks.
>