Red Hat Bugzilla – Bug 27190
parm tw acts as a line wrapper rather than an unindent
Last modified: 2007-04-18 12:31:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.0-0.99.11 i586)
Setting the vim parameter 'tw' specifies the number of columns to unindent
a line. This has been true on Solaris, SCO, and past releases of RH Linux.
If I 'set tw=4', in Fisher, then vim with line wrap on a white space that
is greater than column 3.
Steps to Reproduce:
1.In vim, use the command 'set tw=4'
2.Use input mode and enter a line of text with words separated by a space
3.If the space is beyond equal to or beyond the value of 'tw' the space
will replaced with a new line.
This will also happen if you set 'tw' in ~/.exrc
Actual Results: See above. 'tw' seems to be functioning as 'line wrap'
limit and not the size of an unindent action which it has always been.
If tw=4 and The line 'Mary had a little lamb' is input the screen will show
Expected Results: setting tw to a value should cause an autoindented line
to unindent by the number of columns specified by 'tw' (or the left margin
if the cursor is at a column that is less than the value of tw from the
If tw=6 and the cursor is at col 24, pressing CNTL-D would cause the
cursor to move to col 18. Similiar if tw=4 and the cursor is initially at
colmn 28, pressing CNTL-D three times would move the cursor to col 16
My apology. I had the wrong parameter. Please close this report as "not a bug"