Sunday, May 20, 2012

Using vim to syntax highlight stdin

I know I'm trying to abuse Vim in ways it's not supposed to be used, but I'm just wondering if this is possible ...

Is there any way to configure vim to syntax highlight stdin & NOT paginate?

eg. ./myprog | vim --insert-magic-here

The less.sh script does all the syntax highlighting I want, but it paginates it's output which I do not want.

Scott. :)

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: