This problem only occur when I click the gvim icon which I created on the KDE menu. When I start gvim on the shell, then there is no problem. Both icon and shell refer to the same /usr/local/bin/gvim program. I copied the .gvimrc file to the ~ directory. KDE version is 2.2-11.
----- Original Message ---- From: Charles E Campbell Jr <[EMAIL PROTECTED]> To: PoWah Wong <[EMAIL PROTECTED]> Cc: vim@vim.org Sent: Wednesday, May 31, 2006 10:56:31 AM Subject: Re: gvim 7.0 does not display files in the same directory again PoWah Wong wrote: >When I use gvim to open files, the first time it will display all the files in >the directory A. > After I open a file, when I try to open files in the same directory A, > it does not display any files, i.e. the directory A is displayed as empty. > I have to display the files in another directory B (e.g. parent directory), > then it will display all the files in the directory A. > gvim version is 7.0. I download source code and compiled it. > Linux is Red Hat 7.2 (2.4.7-10smp). > > I generally use Fedora Core 4; I doubt that Red Hat 7.2 acts that much differently. So, please give the commands you actually use. For example: gvim . (select a file) <cr> :e . which, by the way, works for me. If that sequence isn't working for you, then you'll need to consider the settings you're using. Try commenting out all such settings (except set nocp) and determine which one, if any, is causing problems. Regards, Chip Campbell