copy 'n paste in ee

I usually manage FreeBSD over ssh from Windows or Linux PC.
Copy and paste works fine with ee(), when I use it remotely.

On windows I use Putty ssh-client, it supports copy some text by selecting it using mouse, and paste using right mouse button.

On Linux I use GUI terminal and ssh for remote access to the FreeBSD.
Linux GUI terminal supports copy and paste with Ctrl+Shift+C and Ctrl+Shift+V

In case of FreeBSD local console - I prefer to use mcedit. It is a builtin editor of Midnight Commander port.
It supports copy-paste via F3,F5 buttons and can insert text from a file and save selected text to a file.

So I had no troubles with copy-paste in ee() in case of remote usage over ssh.
 
Afaik not built in. But selecting text with the mouse while keeping Shift pressed will copy, Shift-Ins and/or Shift and middle mouse button will paste.
OMG, I've been involved in un*x systems for quite some time and honestly I didn't know the Shift+mouse select copy feature. Thank you so much!
 
Afaik not built in. But selecting text with the mouse while keeping Shift pressed will copy, Shift-Ins and/or Shift and middle mouse button will paste.
For me, both on vty and most X11-based terminal emulators, simply dragging wanted texts (keep on pressing left button throuout the beginning to the end) and middle click on ee works.

But some Wayland-first terminal emulators hesitates to be pasted with middle clicking, and some Wayland-first apps hesitates to allow dragging to cause clipboards to obtain the area, unfortunately.
 
It works fine here, even between vi under a terminal emulator and a graphical text editor. Just make sure you're in insert mode (press 'i') before, or it will paste only a part of the selected text.
I see.

Sometimes first character is going to void due to not going into insert mode but on the other hand, there is mostly the issue with indentation (tabs/spaces) so it looks awful. I don't know how can I avoid this.
 
I see.

Sometimes first character is going to void due to not going into insert mode but on the other hand, there is mostly the issue with indentation (tabs/spaces) so it looks awful. I don't know how can I avoid this.
Possibly entering into insert mode before pasting would help, unless the pasted texts do NOT contain ESC (^[) character causing insert mode to be finished.
 
Back
Top