Thanks!!!

Googling about showbreak, I found this:
http://groups.google.com/group/vim_dev/web/vim-patches . The 9th patch,
"Correctly indent wrapped lines", seems to be exactly what I want, but
installing it seems a little bit too complicated for me.

Also, as Tony said, it seems that Vim (without patch) does not support wrap
with variable indent :'(

I have added "set showbreak=+++\ \ \  ", but I wish I have one day a real
wrap with indentation for my beloved text editor!!!

Best regards

On Wed, Jul 6, 2011 at 12:03 AM, Михаил Голубев <[email protected]> wrote:

> But if you still want to use wrapping feature of Vim (which is quite
> usefull sometimes), I suppose you can use 'showbreak' option to recognise
> whether long line was wrapped.
> According to your example it could look like this:
>
> *- blablabla**blablablablablab**lablablab**lablab*
> *>>labla**  # bullet list*
> *   - blébléblé**bléblébléblébl**éblébléblé**blébl*
> *>>é**  # bullet list in the first bullet list*
> *   - bliblibli**bliblibliblibliblibl**ibliblibliblibliblib*
> *>>li**  # **bullet list in the first bullet list*
> *
> *
> if showbreak was set to *>>*. Hope it will help you.
>
> Best regards,
> Mikhail Golubev
>
>
> 2011/7/5 Tony Mechelynck <[email protected]>
>
>> On 05/07/11 11:09, Nono wrote:
>>
>>> Hello!
>>>
>>> I use a lot bullet list in my .txt files and I'd like to have a layout
>>> as Firefox or OpenOffice do. Do you know an option/command to do this?
>>>
>>> Here are some precisions:
>>>
>>> When I use bullet list in Vim, it does something like this:
>>> /- blablabla//**blablablablablablablablablabla**blabla//  # bullet list
>>>    - blébléblé//**bléblébléblébléblébléblébléblé**//  # bullet list in
>>> the
>>> first bullet list
>>>    - bliblibli//**blibliblibliblibliblibliblibli**blibliblibli//  #
>>> //bullet list in the first bullet list/
>>>
>>>
>>> The layout is OK. However, if my Vim window goes smaller and is then not
>>> large enought, Vim goes back to the line and shows something like this:
>>> /- blablablablablablablabla|   # | represent the window border
>>> blablablablablablabla |
>>>    - bléblébléblébléblébléb|
>>> blébléblébléblé |
>>>    - blibliblibliblibliblibliblib|
>>> bliblibliblibliblibli |/
>>>
>>> This layout is not OK :'(
>>> I cannot see easily where the bullet begin, where is the main bullet
>>> list and where are the bullet lists in the main bullet list.
>>> I'd like a layout as Firefox and OpenOffice do:
>>> /- blablablablablablablabla
>>>   blablablablablablablabla
>>>    - blébléblébléblébléblé
>>>      bléblébléblébléblé
>>>    - bliblibliblibliblibliblibli
>>>      bliblibliblibliblibliblibli
>>>
>>> /One more precision: One solution is that when I write, "back to line"
>>> are inserted automatically. I'd like to avoid this, so I can use all the
>>> space if I have a larger window: If I have a larger window (large
>>> enough), it would go back to a layout like this:
>>> /- blablablablablablablablablabla**blablablablablabla
>>>    - bléblébléblébléblébléblébléblé**blébléblé
>>>    - blibliblibliblibliblibliblibli**blibliblibliblibliblibli/
>>>
>>> Does Anyone know a command/option to have a layout like this?
>>>
>>> Thanks!!!
>>>
>>> --
>>> You received this message from the "vim_use" maillist.
>>> Do not top-post! Type your reply below the text you are replying to.
>>> For more information, visit 
>>> http://www.vim.org/maillist.**php<http://www.vim.org/maillist.php>
>>>
>>
>> Vim will not display variable indents when wrapping long lines without
>> actually breaking them.
>>
>> What you could do is ":set nowrap" which will display each line of the
>> file as only one line with no wrapping, and if the line is longer than the
>> window's width you will need to scroll horizontally to see it in full.
>>
>>
>> Best regards,
>> Tony.
>> --
>> hundred-and-one symptoms of being an internet addict:
>> 122. You ask if the Netaholics Anonymous t-shirt you ordered can be
>>     sent to you via e-mail.
>>
>>
>> --
>> You received this message from the "vim_use" maillist.
>> Do not top-post! Type your reply below the text you are replying to.
>> For more information, visit 
>> http://www.vim.org/maillist.**php<http://www.vim.org/maillist.php>
>>
>
>  --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to