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.

link|improve this question
feedback

migrated from stackoverflow.com Jun 10 '11 at 22:53

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 0 down vote accepted

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.

link|improve this answer
Oh very cool, That works really well when in vim. Is there a way to do it without an editor though? – Gideon Jun 9 '11 at 22:32
I doubt it. This question really belongs on a different site though. I'm going to add a vote to move it. – Don Roby Jun 9 '11 at 22:39
thanks for moving it over. – Gideon Jun 14 '11 at 17:19
feedback

Your Answer

 
or
required, but never shown

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