В чем разница, что использовать? И там, и там EOL
Пользователь решил продолжить мысль 14 Декабря 2014, 03:04:55:
В чем разница, что использовать? И там, и там EOL
Нагуглил
Yeah, 'wrapmargin' is vanilla vi option and 'textwidth' is vim option.
:help ins-textwidth says using 'wrapmargin' is equivalent to using
'textwidth' set appropriately. I can't think of any example why one would
prefer 'wrapmargin' over 'textwidth'.
The problem with 'wrapmargin' is that it depends on the width
of your terminal whereas 'textwidth' works the same for all terminals
or windows (-> gvim).