Terminal Copy-Paste – How to Select, Copy, and Paste in Terminal Without 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 filename.extension" and there would be multiple files in different locations. I want to vim that file, but I don't want to retype the whole file directory.

Best Answer

At the risk of starting an editor war ...

Emacs has a shell mode, allowing you to run a command and have all its output automatically be in an editable buffer.

I don't use vim myself, but from this wikia entry, it appears something similar is available for vim.

Related Question