Den sön 8 maj 2022 10:21BPJ <b...@melroch.se> skrev:

>
>
> Den sön 8 maj 2022 09:06'Tim Ye' via vim_use <vim_use@googlegroups.com>
> skrev:
>
>> Hi,
>>
>> I noticed that some of the replied emails are auto indented by user, so
>> if the line is longer than, say 72 chars, it'll break into 2 lines
>> automatically(?).  I'm wondering if it's possible to do this in vim?
>>
>
> :setl tw=72
>
> see :h textwidth
>
> I usually also do
>
> :setl cc=72
>
> (see :h colorcolumn)
>
> to have an indication how much I have left on the line and to spot
> overlong lines which may arise during editing.
>

You also have to make sure "t" is in 'formatoptions' (see :h
formatoptions). I forgot that because I always have it. Sorry!

/bpj



> HTH,
>
> /bpj
>
>
>
>> My email client is mutt.
>>
>> Thank you,
>>
>> - Tim
>>
>> --
>> --
>> 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/20220508025238.autf5p3mmxsjbdpq%40localhost
>> .
>>
>

-- 
-- 
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/CADAJKhCuQN04PGbEAZC7zOX5cFkN1c1%3D77nep%3Dj5yQunoWTGZg%40mail.gmail.com.

Reply via email to