Hi Yakov,

On 11/3/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 11/3/06, Yegappan Lakshmanan <[EMAIL PROTECTED]> wrote:
> Hi Yakov,
>
> On 11/3/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> > How do I execute command without adding it to command
> > history ? (I need it for the command on the rhs of the mappnig)
> >
>
> You can try using "call histdel('cmd', -1)" after executing a command
> from your map.

And won't the ':call histdel('cmd', -1)' iself remain in the history then ?


From the help for "cmdline-history", commands invoked from maps
will not be added to the history. Are you using a normal or insert or
visual or command-line mode map?

- Yegappan

Reply via email to