On 8/19/10 8:17 AM, björn wrote:
On 16 August 2010 23:36, Robert H wrote:
I saw this as an example:

augroup indent_settings
    au!
    au BufEnter *.pl setl autoindent smartindent
    au BufEnter *.html setl noautoindent nosmartindent
augroup END

I am wondering if there is some way that I can specify the options ONCE and
apply them to a bunch of different modes.

For instance, I want Perl, Python and Tcl to have "ts=4,sw=4"...
Since nobody here has an answer I suggest you ask on vim_use (since
this is not Mac specific).

Björn

You can use a comma separated list of patterns
    au BufEnter **.pl,*.html* setl autoindent smartindent

I try to use that to set filetypes and nothing else, and then use
    au filetype <filetype,...> <commands>
to set the options I need, but that's just my preference.

dado

--
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