On Mon, 13 Jun 2022 09:46:31 -0700
Gary Johnson <garyj...@spocom.com> wrote:

[...]
>
>The simplest way to achieve that is to add the 'n' flag to
>'formatoptions', e.g.,
>
>    :set fo+=n
>
>See
>
>    :help fo-n
>
>For what it's worth, I also have this in my vimrc:
>
>    " Require the first character following the number to not be a
>    " space to avoid the improper indentation of lines following a
>    " line that happens to begin with a number.
>
>    set formatlistpat=^\\s*\\d\\+[\\]:.)}][\\t\ ]\\s*
>
>HTH,
>Gary
>

Hello Gary,

Thank you for your quick and efficient response.
This exactly what I searched for.

Shame on me, I did not explore the 'formatoption' option.

Cordially,
--
Rand Pritelrohm
*Linux && *BSD

-- 
-- 
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 because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20220613190804.1ad3dc70%40wander.und.kraft.is.

Reply via email to