On 8/30/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
Gabriel B. wrote: > I've used gvim with gnome for some time. > > Now when i try to open a file with right click in the file nautilus' > icon, open with gvim. I get: > > Erreur détectée en traitant BufReadCmd Auto commandes pour "file://*": > error detected treating BufReadCmd Auto commandes for "file://*": > > is it something i messed up in vim or in nautilus? > > a grep for auto|file://|BufRead in my .vimrc show just that of interest: > " Trim whitespace from python files > autocmd BufWritePre *.py normal m`:%s/\s\+$//e `` > autocmd BufRead,BufNewFile *.py syntax on > autocmd BufRead,BufNewFile *.py set ai > > > > Thanks, > Gabriel > >It may have been defined by another plugin such as netrw. Try :verbose au BufReadCmd For the file:// protocol I see:
I confess i didn't see what you where trying to make me see there... that was completely arcane to me. I haven't found the reason, but found the cause. for some weird reason, when i 'ported' my .vimrc to windows, i ended up with those two lines. I probably had to use that because of mixed EOL i had in old files at work. set ff=dos set ffs=dos,unix removing the first line (or changing to unix) is the only thing that solved the problem. Anyway, i always tought that those options where just for the editing buffer. It seems that they messed up something else.
