> Is there a way from within Vim to determine what command line options
> were specified when that particular instance of Vim was started? Not
> compile options or .vim_rc settings, but strictly items specified on
> the startup command line. If Vim was started with '-r' and '+1234', is
> there a way to determine that from within Vim?
If you're running Linux, this will show you the full command line used
to start Vim, from within Vim:
:exe '!tr "\0" " " </proc/' . getpid() . '/cmdline'
No comments:
Post a Comment