Hi

When I'm editing a tex file with a tabbed/longtable and start a new line
after a blank line, vim indents to the second tabbed paragraph instead
of typing at character 1 where the left hand tab is.

Example to see what I mean:

Title1 &        The description text
              which may span serveral
              lines.\\

              Title2 &

At which point I have to backspace or << to the left side of the window.

Is there a way of stopping autoindentation after a blank line?

I've tried playing with (no)smartindent (no)autoindent etc. but cannot
find a way that works properly.

Any help gratefully received.

Thanks

If I copy the tex indent file to ~/.vim/after/indent and change what was
line 170 to:

if lnum == 0 || getline(v:lnum - 1) == ''

then it works as I need (so far). If there is a simpler way I'd still be
glad to see it.

Thanks

--
--
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/d/optout.

Reply via email to