Hi,

On Mon, Aug 16, 2010 at 11:36 PM, Robert H <[email protected]> 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"...

You can use

   au FileType perl,python,tcl whatever...

or if you need file matching, use a file-pattern that matches what you want

   au BufEnter *.{pl,py,tcl} whatever...

[:h autocmd-patterns and :h file-pattern]

Best,

        Sylvain

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