On Fri, Oct 23, 2009 at 2:55 AM, anna <[email protected]> wrote:
>
> Hi all,
>
> After finishing the execution of a command, is there a way to hide the
> command-line editor? The one that is at the bottom of vim. I am not
> too sure whether my terminology is correct.
> I am sending a command from other process through OLE. The command is
> shown at the very bottom line of vim window. For example, the process
> send command ":call foo()". Then ":call foo()" is shown at the very
> bottom line of vim window. One alternative to remove it, I could use
> <C-L>. However, it is quite costly. I simply want the command not
> shown. Is there a way to set it hidden or not shown?
<C-L> or :redraw shouldn't be that expensive, unless you are talking
about slow terminals (which you probably don't use, as you are using
OLE), so you could try using the ":call foo() | redraw".
Also, if you are using |clientserver| features, then you could use
remote_expr('foo()') instead of remote_send(":call foo()\<CR>"). The
other alternative is to do a NOP right after the command, something
like: remote_send(":call foo()\<CR>:\<BS>").
--
HTH,
Hari
>
> Cheers,
> Anna
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---