Hi,
Just put this if statement:
if has("gui_running")
Best Regards,
Karol Samborski
2011/3/24 statquant2 <[email protected]>:
> Hello guys,
> I have some options in my vimrc that I only want to be executed when running
> gvim.
> I created a gvimrc and vimrc but it seems that when I run vim it is picking
> the gvimrc now.
>
> Is there a way to say to vim "please execute this only if gvim ?"
>
> Cheers
> Colin
>
> --
> View this message in context:
> http://vim.1045645.n5.nabble.com/vimrc-options-only-if-running-gvim-tp4262009p4262009.html
> Sent from the Vim - General mailing list archive at Nabble.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
>
--
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