Please do ensure it is optional. I regularly edit PDF files in MacVim!

Ben.



On 12/04/11 2:33 AM, Mark McCullagh wrote:
Dear Björn,

Thanks very much for this information.  That would be a wonderful
feature.  No more "editing" a PDF after a mouse-slip!

Mark

On Apr 11, 9:17 am, Björn Winckler<[email protected]>  wrote:
On Monday, April 11, 2011 at 14:36 , Mark McCullagh wrote:

Hi, I was wondering if there's a way for the file-open dialog in>  MacVim to 
gray out inappropriate files, e.g. *.pdf files.

Thanks in advance... (I googled and searched for this but no luck yet)

The dialog itself is handled by Cocoa and as far as I know there is no general 
way to filter files in the GUI itself.

Looking at the API there is a way to "set allowed file types" which may result in 
"disallowed" file types in being grayed out, but I have to have a look. Vim itself seems 
to use the variables g:browsefilter and b:browsefilter to set which files to filter but currently 
MacVim ignores this.

To conclude; no, there is no way to filter files at the moment but it looks 
like it might be possible to implement this. I'll put it on my todo list.

Björn


--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to