I've added this feature: use the '-smartbacks' option in joerc.
You have to have the istep, indentc and tab options set properly for it to
Right now it only works if the line is "pure" meaning that the indentation
is made up of all
indentc characters. In fact I should really do this check for ^K , and ^K
. as well.
I'm thinking of adding two other options: '-purify' (convert indentation to
all indentc's if it has to),
and '-optimizeindent' which would make indentation out of the shortest
combination of tabs and
spaces. These would apply to <return>, smart backspace, ^K , and ^K .
At 05:41 PM 4/17/2004 -0500, David Phillips wrote:
>- Backspace unindents when in auto-indent mode. If the cursor is at the end
>of a blank line or on the first non-blank character, then backspace
>unindents the line by one tab level, unless the character is a tab. This
>gives the same behavior to spaces mode that tabs mode has.