Wednesday, September 25, 2013

Re: outlook.vim sets textwidth=76 when starting gvim

Thank you.


On Wed, Sep 25, 2013 at 1:16 PM, Calon <calon.xu@gmail.com> wrote:
From line 63 to 68 in outlook.vim, you can find text width option there:

" textwidth  - automatically wrap at a column
if exists('g:outlook_textwidth')
    let &textwidth = g:outlook_textwidth
else
    let &textwidth = 76
endif

You can set g:outlook_textwidth to override the default setting, as mentioned in help document(outlook.txt).

 This setting (default = 1) overrides the default textwidth the mail ftplugin sets.  This
 allows you to automatically format text using gq by setting the following: >
     let g:outlook_textwidth = 76

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment