On Jun 22, 2011, at 1:48 PM, Tim Gray wrote:

> On Jun 22, 2011 at 10:02 AM -0400, Eric Weir wrote:
>>>   au BufRead,BufNewFile *.ext :set ft=markdown
>> I tried putting this in ~/.vim/after/ftplugin/markdown.vim and it didn't 
>> work. I moved it to my .vimrc and it worked. I don't know if that's the best 
>> place for it, though.
> 
> You want it in .vimrc.  What the command means:  Everytime a buffer (file) is 
> read or created (BufRead/BufNewFile) and the file ends in 'ext' (the *.ext 
> part), set the filetype to markdown.

Thanks, Tim. Though not so clear, that was roughly my understanding.

------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net




-- 
You received this message from the "vim_use" 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