Harry Putnam schrieb: > Setup: > OS=Opensolaris 2008.11 > vim=See full `:version output at the end > > When I start vim on a file it does not source the ~/.vimrc file. > That file is actually a symlink to the hard file elsewhere. > > Permissions are on both slink and hard copy: > ls -l ~/.vimrc: > lrwxrwxrwx 1 reader staff 35 [...] /export/home/reader/.vimrc -> \ > /cvsb/zfs/export/home/reader/.vimrc > > ls -l /cvsb/zfs/export/home/reader/.vimrc: > -rw-r--r-- 1 reader wheel 8649 [....] \ > /cvsb/zfs/export/home/reader/.vimrc > > user reader belongs to both staff and wheel groups. > > If I souce ~/.vimrc manually after opening a file it works fine: > > vim .bashrc > :so ~/.vimrc > > Then all the setting I have in ~/.vimrc show up. Obvious because > syntax highlignting suddenly comes on. > > What might cause ~/.vimrc to be ignored on vim start > > ===== * ===== * ===== * ===== > > :version > VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Feb 3 2009 02:11:30) > Included patches: 1-6, 8-35, 37-40, 42-48, 50-70, 73, 75-84 > Compiled by r...@sfwnv-x > Huge version without GUI. Features included (+) or not (-): > +arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent > -clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments > +cryptv +cscope +cursorshape +dialog_con +diff +digraphs -dnd -ebcdic > +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path > +float +folding -footer +fork() -gettext -hangul_input +iconv +insert_expand > +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds > +localmap > +menu +mksession +modify_fname +mouse -mouseshape +mouse_dec -mouse_gpm > -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte > +multi_lang -mzscheme -netbeans_intg -osfiletype +path_extra -perl > +postscript > +printer +profile -python +quickfix +reltime +rightleft -ruby +scrollbind > +signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary > +tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects > +title > -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra > +viminfo > +vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim > -xsmp > -xterm_clipboard -xterm_save > system vimrc file: "$VIM/vimrc" > user vimrc file: "$HOME/.vimrc" > user exrc file: "$HOME/.exrc" > fall-back for $VIM: "/usr/share/vim" > Compilation: /opt/SUNWspro.40/SS12/bin/cc -c -I. -Iproto -DHAVE_CONFIG_H > -xO > 3 -m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all > Linking: /opt/SUNWspro.40/SS12/bin/cc -o vim -lm -ltermlib > > _______________________________________________ > opensolaris-discuss mailing list > [email protected]
Have you tried truss'ing the vim session? You should then be able to if vim calls open on $HOME/.vimrc and if it fails. Maybe your settings from .vimrc get overwritten by some other configfile? HTH, Thomas _______________________________________________ opensolaris-discuss mailing list [email protected]
