Andy Wokula wrote:
> Suresh Govindachar schrieb:
>> B) Here's an illustration of the problem: Suppose the file
>> has the line (the '|' represents the left boundary)
>>
>> | <b>The first part </b>The second part.
>>
>> Result of putting the cursor before the p in part and
>> hitting return ('|' represents the left boundary):
>>
>> |<b>The first
>> | part </b>The second part.
>>
>> Result of putting the cursor before the s in second and
>> hitting return ('|' represents the left boundary):
>>
>> |<b>The first part </b>The
>> |second part.
>>
>> --Suresh
>
> What's your 'indentkeys' option?
> If it contains "*<Return>", then remove the leading star "*".
> Check with
> :verb set indk?
> to find out where the option has been set from.
>
> Ok, here:
> vim72/indent/html.vim [05 Jun 2006]
> :setlocal indentkeys=o,O,*<Return>,<>>,{,}
>
> I suppose its a bug in the indent script.
Thanks. Disabling indent/html.vim brought back sanity.
--Suresh
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---