This answer only works for a scenario where the ultimate goal is to immediately paste the contents of the copied buffer.
The easiest way to do this is to split the screen into two regions. You can do this by pressing CTRL + a , then | 'This is not i. This is the PIPE sign on the keyboard.
Press CTRL + a , then TAB to switch to the second area, CTRL + a , then c to create a new session in the second area.
If you want to copy from nano and paste into the terminal, open the file in nano in the left pane, press CTRL + a , then ESC , select the start point of your copy location and press SPACE , select the text, scroll to the end point and press SPACE again to mark a copy.
Now you only need to press CTRL + a , then TAB to go to the area on the right and press CTRL + a , then ] .
The text will be written on the command line. Please note that you can also check the hardcopy parameter if you want to write directly to the file.
CoderX May 08 '17 at 10:27 2017-05-08 10:27
source share