*sigh* Nevermind. Some dumbass had forgotten to set proper tabstop in
the modeline.

/the Dumbass

On 21 Sep, 10:27, krisse <[email protected]> wrote:
> Hi,
>
> I'm hoping there's some latex-suite users -- or perhaps just someone
> with enough IMAP knowledge -- out there to help me with the following:
>
> I've set up a custom macro, adding "\item", like so:
>
> call IMAP('§i', "\<C-r>=Tex_InsertItem()\<CR>", 'tex')
>
> It basically works, but it indents differently than writing "\item"
> manually on a line does.
>
> More specifically, currently what happens in practice, if I do it
> manually is, 1) I add a new line, indentation is wrong; 2) I write in
> \item and indentation automatically gets fixed. Now, if I use the
> custom macro above, the automatic indentation that takes place in step
> 2), above, doesn't happen. And neither does it happen when I continue
> writing (after the macro-inserted \item").
>
> So what I'd like is either that indentation would be correct from the
> get-go, that is immediately on the new line, or that the macro would
> somehow get some sparks of that same indentation-magick that happens
> when it's done manually.
>
> Any and every idea or tip is appreciated!
> Thanks in advance.
>
> /Kristian
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to