Samuel Ferencik wrote:

> When 'pastetoggle' is non-empty, and it is used to set/reset the 'paste'
> option, the 'ruler' option is not set/reset immediately.
> 
> Behaviour when using :set paste
> 1) :set paste? -> nopaste
> 2) :set paste - the ruler info (bottom-right) immediately disappears.
> 
> Behaviour when using pastetoggle (different)
> 1) :set paste? -> nopaste
> 2) :set pastetoggle=<f5>
> 3) <f5> - the ruler info (bottom-right) remains displayed until next update
> (via Ctrl-L or a cursor movement)
> 
> This is somewhat confusing - at least to me, since I tend to use the
> presence/absence of the ruler info as a quick visual check of the current
> 'paste' setting.
> 
> Is this expected?

No, it should work immediately.  I'll add a remark to the todo list.

-- 
hundred-and-one symptoms of being an internet addict:
12. You turn off your modem and get this awful empty feeling, like you just
    pulled the plug on a loved one.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui