Bug#279378: reopening #279378

Nikolaus Schulz Nikolaus Schulz <microschulz@web.de>, 279378@bugs.debian.org
Mon, 21 Mar 2005 14:20:59 +0100


reopen 279378
thanks

> Package: vim
> Version: 1:6.3-013+2
> Severity: minor
> 
> According to the docs (starting.txt), the "exrc" option should make vim
                                            ~~~~~~~~~~~~~
I guess you didn't catch that. 

> check for
> 
> - .vimrc
> - _vimrc
> - .exrc
> - _exrc
> 
> in the current directory, in that order, and sourcing the first file
> found. But a _exrc file is ignored. -- The first three are fine.

Alexis Sukrieh wrote:
> Indeed.
> 
> Quoting the online help message from :help starting
> 
>    -  The user vimrc file(s):
>                     "$HOME/.vimrc"      (for Unix and OS/2) (*)
>                     "s:.vimrc"          (for Amiga) (*)
>                     "home:.vimrc"       (for Amiga) (*)
>                     "$VIM/.vimrc"       (for OS/2 and Amiga) (*)
>                     "$HOME/_vimrc"      (for MS-DOS and Win32) (*)
>                     "$VIM\_vimrc"       (for MS-DOS and Win32) (*)
> 
> Then Vim - on other platforms than MS-DOS and Win32 - is not expected to
> read that file.
> 
> Bug closed.

Alexis, you quoted subsection 3c of :help starting. Reading on, you find:

     d. If the 'exrc' option is on (which is not the default), the current
        directory is searched for four files.  The first that exists is used,
        the others are ignored.
        -  The file ".vimrc" (for Unix, Amiga and OS/2) (*)
                    "_vimrc" (for MS-DOS and Win32) (*)
        -  The file "_vimrc" (for Unix, Amiga and OS/2) (*)
                    ".vimrc" (for MS-DOS and Win32) (*)
        -  The file ".exrc"  (for Unix, Amiga and OS/2)
                    "_exrc"  (for MS-DOS and Win32)
        -  The file "_exrc"  (for Unix, Amiga and OS/2)
                    ".exrc"  (for MS-DOS and Win32)

This is what the bug report refers to. 

Regards,
Nikolaus