> -----Original Message-----
> From: Eric Arnold [mailto:[EMAIL PROTECTED] 
> Sent: 18 May 2006 15:09
> To: vim.org user list
> Subject: clearing the command line
> 
> I''ve been chasing this for a while, so I might as well ask, even
> though it seems like a stupid question.  What's the right way to clear
> the command line between echo blocks in a script, without causing a
> full screen redraw?
> 
> Everything I try eventually fails when the command line has been
> scrolled/grown upwards by output longer than cmdheight.  I can't see
> the exact rule, since some things like:
> 
>     echo :<CR>
> 
>     normal :
> 
> etc., come close, but no cigar.
> 

Not sure if it helps, but try this:

:map ,x :let a=10<CR>
and execute it by  ',x' (no apostrophies)

and then see for comparison this:
:map ,x :let a=10<CR>/<BS>
execute and see the difference.

Is it something you were looking for?

---Zdenek

Reply via email to