On 13/02/09 02:52, Ben Schmidt wrote:
> Hi, guys,
>
> I refer people to this tip which I recently updated with a script that is
> newer
> and much better than the earlier one.
>
> I thought it was a new tip, but it seems not to be now.
>
> Not sure whether that's because it was accepted (prematurely in my opinion),
> or
> just that it actually never was on the new tips list. Anyway, I believe if it
> hasn't been, that it is now ready to have its wording tweaked and be
> considered to
> become a permanent tip.
>
> http://vim.wikia.com/wiki/Get_the_correct_indent_for_new_lines_despite_blank_lines
>
> Ben.
Well, contrary to what is said in that tip, when I hit Enter on a line
containing only the indent copied from an adjacent line, that line
becomes empty but the cursor finds itself on a new line _with the
correct indent_.
My settings include
filetype indent off
set autoindent smartindent
Best regards,
Tony.
--
You can be stopped by the police for biking over 65 miles per hour.
You are not allowed to walk across a street on your hands.
[real standing laws in Connecticut, United States of America]
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---