Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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

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

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.

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .