After starting gvim -u NORC -N i can load the .vimrc settings with :source ~/.vimrc without errors. What is the difference there?
Normally gvim starts like this: gvim -f F% On 23 Nov., 09:14, punknroll <[email protected]> wrote: > gvim-u NORC -N > > startsgvim. that works. now I have to go through the .vimrc file to > find out what causes the problem. > > thanx for your help! > > On 23 Nov., 09:01, Tony Mechelynck <[email protected]> > wrote: > > > > > > > > > On 23/11/11 08:28, punknroll wrote: > > > > I found out that the error exists in the .vimrc file. when i rename it > > >gvimstarts again. > > > >https://github.com/spf13/spf13-vim/blob/master/.vimrc > > > > what can prevent the gui from starting here? > > > Hard to tell by eyeball alone; experimenting is your friend. > > > Now that you know that the error happens with a vimrc and not without > > it, first try starting Vim as > > > gvim-u NORC -N > > > If that alone is enough to prevent the GUI from starting (it shouldn't), > > the 'nocompatible' setting makes a difference. > > > Otherwise,startcommenting (by if 0 ... endif) about half of your > > vimrc, not straddling the boundary of another if- while- for- function- > > or try-range (i.e. none of these or similar multiline statements should > > be partly instide the :if 0 and partly outside it). Then comment or > > uncomment smaller and smaller parts until you have (hopefully) narrowed > > down the problem zone to just one line. > > > Best regards, > > Tony. > > -- > > Alexander Graham Bell is alive and well in New York, and still waiting > > for a dial tone. -- 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
