Install TeX plugins which support tex file indent. You can search in www.vim.org and find some TeX plugins/extensions.
Or if all you want is just the indent, try copy indent/tex.vim from texsuite. On Wed, Apr 10, 2013 at 9:17 AM, leo <[email protected]> wrote: > > Hello all, > > How i use autoindent to indent TeX files, vim place subsections in the > same indentation level as sections. This bothers me a little bit since i > wanna indent TeX files for automatic folding based on identation. So, what > should i do to make vim indent subsections? > > Thanks in advance > > Leo > > -- > -- > 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 > > --- > You received this message because you are subscribed to the Google Groups > "vim_use" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
