Sorry, I just realized this is in the documentation.
modeIndent = \_ _ -> insertB '\t'
...worked perfectly well.
2009/5/9 Jean-Philippe Bernardy :
>
> You should probably redefine the tab key in your own keymap. You could
> also define modeIndent for your mode; but that really should be an
> au
You should probably redefine the tab key in your own keymap. You could
also define modeIndent for your mode; but that really should be an
auto indent function.
-- JP
On Sat, May 9, 2009 at 2:26 PM, Deniz Dogan wrote:
>
> Hi
>
> I have another question... How do I make my custom mode insert an
>