Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

These days, you can also run terminals as panels in vim, so vim is sort of its own terminal multiplexer now.

  :help terminal.txt


I tend to just write a command in a vim buffer (with all that nice Vim magic), select it and run it with :@"

e.g. I write and yank: r!fancy command arg1 arg2 ..

Then go to the next line and do :@" This will run the command (well execute the colon mode command) and read back the results.

edit: The nice thing about this is that I can do this as a progressing document (command, output, command, output) and scroll back to see what I have done and what the result was.


They should just stick a kernel in vim so I don't even need to install an OS ;)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: