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

0

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.

Gideon

Posted 2011-06-09T21:57:14.380

Reputation: 203

Answers

0

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.

Don Roby

Posted 2011-06-09T21:57:14.380

Reputation: 141

Oh very cool, That works really well when in vim. Is there a way to do it without an editor though? – Gideon – 2011-06-09T22:32:18.543