Wayne
On Sun, Apr 17, 2011 at 04:16:18PM -0400, Thomas Dickey wrote:
On Sun, 17 Apr 2011, address@hidden wrote:
From the help reference:
wrapwords (ww)
Similar to, but different from, vi's auto-wrap mode (i.e.
"wrapmargin"). While inserting, words are moved to the next line
if the current line gets too long. Wrapping is only attempted
when
a space is typed. The target maximum width of lines is changed
with the "fillcol" setting. (B)
Would is be possible to add new-line to the set of characters that cause
wrapping to occur? I find the last line of a paragraph frequency violates
the
fillcol value when I insert a new-line instead of a space or when I go back
and correct text that runs past the fillcol value. This does not happen
when
I use the wrapmargin setting. When using wrapmargin it seems that
wrapping is
implemented as characters are typed rather than waiting for a space
character?
That sounds like a bug-report rather than just a wish-list.
Can you send a copy of your .vilerc, so that I can test with the
same options?
thanks
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
~/.vilerc
------------------------------------------------------------------------
set autoindent
set backup-style=tilde
set fillcol=78
set ignorecase
set linewrap
set nobackspacelimit
set notabinsert
set modeline
set ruler
set shiftwidth=4
set tabstop=4
set visual-matches=reverse
map g 1G
map _fp {f}
map _ic :set ic
map _Ic :set noic
bind-key cntl_a-prefix ^C
bind-key undo-changes-backward u
bind-key redo-changes-forward U
bind-key historical-buffer-to-current-window -
bind-key split-current-window ^T
bind-key next-window ^N
bind-key previous-window ^P
source "filters.rc"
source "palettes.rc"
setv $autocolor-hook HighlightFilterMsg
setv $read-hook HighlightFilterMsg
set autocolor=1000
~if &seq $progname "xvile"
set color-scheme=white
set ccolor=cyan
; set font=6x13
set number
setv $pagelen=45
setv $pagewid=88
bind-key copy-to-clipboard M-[
bind-key paste-from-clipboard M-]
bind-key paste-from-primary "M-\\"
~endif
" custom submodes
~with define-submode mail
ts=8
tabinsert
wrapwords
"wrapmargin=-78
~endwith
~with define-submode txt
ts=8
tabinsert
wrapwords
"wrapmargin=-78
~endwith
~with define-submode make
ts=8
tabinsert
~endwith
~with define-submode tcl
comment-prefix='^\s*;\?# '
~endwith
_______________________________________________
vile mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/vile