Hi all, I have a lot of python files without the .py extensions as I'm using them as commands, those files are scripts in my ~/bin with execute bit set. I set up my editing environment for python files in my .vimrc using autocmd using pattern *.py But I would like these autocmd's to match those files whitout .py extensions.
My question is : Is it possible to make an autocmd pattern's to match something in the first line's buffer with a regexp eg: ( ^#\!.+python or something like that ) instead of the filename ? I looked in Section 6 (patterns) in autocmd.txt but didn't found an answer on this (maybe my brain is froozen) -- Fabien Meghazi Website: http://www.amigrave.com Email: [EMAIL PROTECTED] IM: [EMAIL PROTECTED]
