Yakov Lerner wrote:

> I noticed that :redraw works differently from Ctrl-L in certain situations:
> 
> 1) vim -u NONE
>    :set laststatus=2 statusline ruler
>    :help help            " get some text
> 
> 2) Let's cause some screen mispaininting, so we can test :redraw:
>     :silent! !echo aaa         " cause mispainted screen (this is ok)
> 
> 3) :redraw             " ???? does not repaint anything
>     :redraw
>     :redraw
>     " nope, does not repaint
> 4) Ctrl-L               "finally, works
> 
> Is it bug or feature, that :redraw does not repaint screen at step 3 ?

If you messed up the screen in a way that Vim doesn't know about it,
such as with an external command, you need to use ":redraw!".

- Bram

-- 
An indication you must be a manager:
You believe you never have any problems in your life, just
"issues" and "improvement opportunities".

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to