DervishD wrote:
[...]
    That's how I do it right now, but I don't want to use the
alternative configuration just because &readonly is set, I want to use
based on the invocation name, at least for my system.

    Thanks a lot for your help :)))

    Raúl Núñez de Arenas Coronado


Well, note then that "vim -R" is equivalent to "view", "gvim -d" to "gvimdiff" etc. (see the list of names starting at ":help ex"). As long as you keep this in mind, do as you like.

AFAIK, there is no "easy" way to capture the command-line options from inside the vimrc.


Best regards,
Tony.

Reply via email to