Wednesday, January 2, 2013

don't clear screen, on specific invocations?

is there a way to get vim to not clear the screen only on specific invocations?

basically i want to use vim to print syntax-highlighted code on a
color printer. "vim +ha +q foo.c" works nicely, but on some systems,
it has the side-effect of clearing the screen and leaving the cursor
at the bottom line, while on others, it makes a big annoying flash as
the screen redraws, then restores.

ideally i'd like something i could pass as an option that would
completely turn off the redraw behaviors for that specific run.
--
Aaron Davies
aaron.davies@gmail.com

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