Tuesday, July 5, 2011

Re: Bullet list layout

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//blablablablablablablablablablablabla// # bullet list
> - blébléblé//bléblébléblébléblébléblébléblé// # bullet list in the
> first bullet list
> - bliblibli//blibliblibliblibliblibliblibliblibliblibli// #
> //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:
> /- blablablablablablablablablablablablablablablabla
> - blébléblébléblébléblébléblébléblébléblé
> - blibliblibliblibliblibliblibliblibliblibliblibliblibli/
>
> 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

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

No comments: