I have many file types mapped into GVIM: .txt, .lst, .cfg, and others. Go to Windows explorer ("my computer"), tools --> Folder Options, and select the File Types tab. Select the extestion or file type, click the Change button, and select or specify the application.
Ed -----Original Message----- From: Jeffrey Robertson [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 9:08 AM To: Dudley Fox; vim@vim.org Subject: RE: I can't make gvim the default application for .txt files in WinXP Thanks for replying. I do this and it doesn't work. By "gvim", I assume you mean gvim.exe. When I do this, after I select gvim.exe and that dialog closes, the "Open with" dialog still shows Notepad selected. I can't get gvim to show up as an option in the program chooser list. I can get vim, but I want gvim. Any idea what's up? From: Dudley Fox [mailto:[EMAIL PROTECTED] Sent: Thursday, November 30, 2006 6:06 PM To: Robertson, Jeffrey (CAR:QW32); vim@vim.org Subject: Re: I can't make gvim the default application for .txt files in WinXP Jeffrey, Try this: 1. Right click on a .txt file 2. Select the "Open With" menu option 3. Select the "Choose Program..." menu option 4. Check the "Always use the selected program to open this kind of file" checkbox 5. Select gvim, you may have to browse to it. 6. Click ok. This should work for you, though you will have to do this for each file type you want gvim to open. If that does not work please let me know. There are other ways to achieve this, but this is the easiest. Sincerely, Dudley On 11/30/06, Jeffrey Robertson <[EMAIL PROTECTED]> wrote: Hi: I just installed Vim 7.0 on my Windows XP box. I cannot force files with .txt (or any other extension) to automatically open in gvim. However, I do have the "edit with vim" option in my right-click menu. If I try to specify a new program to use for .txt and navigate to the folder with gvim.exe, even if I select it, it doesn't take effect (Notepad is still the default). I was able to do this on my old Win2K box with Vim 6.something. What's up? Thanks, Jeff