Re: multiple autocommands

2012-02-14 Thread Ben Fritz
On Feb 13, 3:11 pm, Chris Lott ch...@chrislott.org wrote: Is there a more efficient or better way to cluster together a set of autocommands in my .vimrc? For instance, I have the following: au BufNewFile,BufRead *.mtxt setlocal filetype=pandoc au BufNewFile,BufRead *.mtxt setlocal spell au

Re: multiple autocommands

2012-02-14 Thread Chris Lott
On Tuesday, February 14, 2012, Ben Fritz fritzophre...@gmail.com wrote: On Feb 13, 3:11 pm, Chris Lott ch...@chrislott.org wrote: Is there a more efficient or better way to cluster together a set of autocommands in my .vimrc? For instance, I have the following: au BufNewFile,BufRead *.mtxt

Re: multiple autocommands

2012-02-14 Thread jeroen
On Feb 14, 6:44 pm, Chris Lott ch...@chrislott.org wrote: On Tuesday, February 14, 2012, Ben Fritz fritzophre...@gmail.com wrote: On Feb 13, 3:11 pm, Chris Lott ch...@chrislott.org wrote: Is there a more efficient or better way to cluster together a set of autocommands in my .vimrc? For

multiple autocommands

2012-02-13 Thread Chris Lott
Is there a more efficient or better way to cluster together a set of autocommands in my .vimrc? For instance, I have the following: au BufNewFile,BufRead *.mtxt setlocal filetype=pandoc au BufNewFile,BufRead *.mtxt setlocal spell au BufNewFile,BufRead *.mtxt setlocal equalprg=pandoc\ -t\

Re: multiple autocommands

2012-02-13 Thread Ivan S. Freitas
On Mon, Feb 13, 2012 at 7:11 PM, Chris Lott ch...@chrislott.org wrote: Is there a more efficient or better way to cluster together a set of autocommands in my .vimrc? For instance, I have the following: au BufNewFile,BufRead *.mtxt setlocal filetype=pandoc au BufNewFile,BufRead *.mtxt