0
votes
2answers
156 views

Can gnome terminal be set up, to copy selection without prompt?

I often times want to copy a set of commands from terminal, that do not have an output; say a block like this: prompt$ less file1.txt prompt$ less file2.txt prompt$ dhex file2.txt prompt$ less ...
2
votes
2answers
308 views

How to avoid trailing spaces when you copy something from terminal?

I often copy a code snippet from a SSH terminal session where i'm logged in to some remote server and have a file opened in vim, for example to paste it here into an answer at SO. It frequently ...
4
votes
1answer
2k views

Copy colorful terminal (emulator) text output and paste as HTML?

I want to write notes (in HTML format) when learning linux. When I need to note colorful terminal text output, I want the color of terminal text can be remained in my notes, eg: Note 1: Test The ...
0
votes
3answers
972 views

How do you copy+paste text from the terminal to a web browser, and vice versa?

I was just wondering if there's a simple way to do this, or whether it's completely dependent on the terminal you use. If that's the case, then is there a standard that most terminals go by? Right ...
2
votes
4answers
3k views

Vim: Terminal-to-terminal copy&paste?

I am trying to copy a large block of code (with indentations preserved) from one vim terminal into another. I was wondering if there was a straightforward way to do this? Would this be considered a ...
1
vote
1answer
359 views

Avoiding newlines when copying wrapped text in Terminal.app

I have text files with lines that of length greater than my terminal width. I generally use less to view these files and often want to copy something that wraps from one line to the next. I've found ...
4
votes
1answer
357 views

How can I prevent or interrupt accidental copy/paste in the terminal?

When I paste into the terminal, sometimes what is in the clipboard is not what I expected. Specifically, it is sometimes pages and pages of text from a website. When this happens, the terminal goes ...
2
votes
2answers
3k views

Putty-like copy & paste for Linux

This is a duplicate of Mac Terminal Copy on select like Putty but I would like a solution for Linux. So basically, (how) can I set the selected text to be copied and pasted on right click?
1
vote
3answers
249 views

cut and paste filename with spaces into a command

when i type ls or locate as an output i get "a file.txt" (there is a space between "a" and "file.txt". i highlight it with a mouse and than paste it with a middle button. now i have to put \ after ...
2
votes
3answers
3k views

What does Ctrl+C do in Ubuntu Terminal?

Does anyone know what Ctrl+C and Ctrl-V do in Ubuntu Terminal? Since they don't copy/paste, is there any particular functionality to these buttons? When I press those shortcut, it writes ^C and ^V. ...
1
vote
2answers
1k views

Can't copy/paste to/from system clipboard in Terminal on Mac

I can't copy or paste to or from the system clipboard within the Terminal. Neither Cmd-C/Cmd-V nor menus work. Instead, Terminal seems to be using it's own buffer for copy/paste operations. I am ...
4
votes
6answers
6k views

UNIX - How to copy and paste between different bash windows with files opend with VI?

Lets say I log in to bash, open a file in vi, then using alt-f2 I open a new terminal. After logging in I navigate to a second file and open that in vi. How can I CnP between these two files? I found ...
0
votes
1answer
714 views

select copy and paste in terminal mac or ubuntu without using mouse

Is there a way to move the cursor up into text output region, visually select text, copy and paste it, all without using the mouse. I guess this is my scenario: I would do a "find . -iname ...
0
votes
2answers
810 views

Running javascript through terminal

I want to copy highlighted text from a certain site into an output folder on my Desktop. I know there are scripts that can copy highlighted text via JavaScript but I've only seen them for copying ...
10
votes
2answers
7k views

Vim copy-paste across terminals

The usual vim yank and paste works only in the same window (but does work across files and close/save commands). Is it possible to make it work across terminals (yank from window in one terminal and ...
4
votes
1answer
1k views

MacVim + tmux or: The Copy Paste Riddle [duplicate]

Possible Duplicate: copy-paste not working in MacVim when launched in tmux Now this is weird. Copied a chunk of a text from somewhere into clipboard. Ran mvim from a tmux buffer. Opened a ...
12
votes
9answers
19k views

How can I copy on select in the OS X Terminal like PuTTY does?

That PuTTY option to select and then right-click to paste is the best invention after the mouse. Is there any way to make Terminal in OS X do this? Hack the source code? Install something? Is the ...