Steve Hall skrev:
> From: Benct Philip Jonsson, Thu, November 05, 2009 7:33 am
>> Can I make this work in Cream?
>>
>> <http://kmandla.wordpress.com/2009/07/27/proper-word-wrapping-in-vim/>
> 
> I'm not sure exactly what this is requesting, Cream has multiple wrap
> features:
> 
> o Word Wrap: Wrap text at window margins (no line ending chars added)
> o Auto Wrap: Wrap text at Wrap Width (line ending chars added) 
> o Quick Wrap: Wrap selected text at Wrap Width (line ending chars
>   added)
> o Quick Un-wrap: Unwrap selected text (remove line ending chars)
> 
> The link above says that Vim can do "words break at spaces or hyphens,
> and links break at slashes or hyphens" but to my knowledge this is not
> true. If I am wrong, I would be happy to add this feature to Cream.

It sure worked for me in gvim.

VIM - Vi IMproved 7.1 (2007 May 12, compiled Jan  8 2009 02:19:16)
Inkluderade patchar: 1-314

Create a file with some paragraphs of text filler and open it in 
gvim.  Then do as it says in the link I gave:

set formatoptions=l
set lbr

and see the difference: lines are wrapped at the last
word boundary before the edge of the window, rather
than after the character which happens to be at the
edge of the window.  The info seems to be at
:h lbr, but it's Martian to me.

>> Additionally, is it possible to have 'virtual' linebreak happen at
>> wrapmargin?
> 
> I'm not sure if this is possible or not. My reading of :help
> 'wrapmargin indicates that it should, but it's never worked for me.

I would appreciate it very much, as I have
a problem with peripheral vision.  The alternative
to have a very narrow window isn't very good, since
I want to be able to have an occasional long line
when writing Perl.  I can tilt my neck -- I just don't
like to have to do it all the time! :)

/BP

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
cream-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cream-general

Reply via email to