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.

1 Answer 1


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.

  • 1
    Oh very cool, That works really well when in vim. Is there a way to do it without an editor though?
    – Gideon
    Jun 9, 2011 at 22:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.