I wasn't sure how to word this properly in the title..
what I'm looking to do is set variables one way or another depending on how vim is invoked.
Specifically I have just discovered the Man
plugin, and set my shell's manpager
to vim
.
When invoked as the manpager, I would like vim to use different default options for things like spell
and scrolloff
.. is this possible?