Re: netrw 'filetype'

2006-04-13 Thread Charles E Campbell Jr
Hari Krishna Dara wrote: I am wondering if we can have netrw set the 'ft' of the buffer to 'netrw' at the end of generating the directory listing... Its already netrwlist; I named it that quite awhile ago so as to reduce the danger that someone might move syntax/netrw.vim atop

Re: netrw 'filetype'

2006-04-13 Thread Charles E Campbell Jr
Hari Krishna Dara wrote: This is exactly the reason, I didn't suspect this at all. I had netrw in my plugin directory for use with 6.3 Vim. Now, how do I make sure I can use the same plugin directory for both 6.3 and 7.0? I think the g:loaded_xxx variable should be different for these two so

Re: netrw 'filetype'

2006-04-13 Thread Hari Krishna Dara
On Thu, 13 Apr 2006 at 4:46pm, Charles E Campbell Jr wrote: Hari Krishna Dara wrote: This is exactly the reason, I didn't suspect this at all. I had netrw in my plugin directory for use with 6.3 Vim. Now, how do I make sure I can use the same plugin directory for both 6.3 and 7.0? I think

Re: netrw 'filetype'

2006-04-13 Thread Hari Krishna Dara
On Thu, 13 Apr 2006 at 2:26pm, Gary Johnson wrote: On 2006-04-13, Charles E Campbell Jr [EMAIL PROTECTED] wrote: Hari Krishna Dara wrote: This is exactly the reason, I didn't suspect this at all. I had netrw in my plugin directory for use with 6.3 Vim. Now, how do I make sure I can

netrw 'filetype'

2006-04-12 Thread Hari Krishna Dara
I am wondering if we can have netrw set the 'ft' of the buffer to 'netrw' at the end of generating the directory listing. I did this for my SelectBuf plugin and find it very useful. This allows users to create filetype plugins and set custom mappings that are local to the netrw buffers. Of