Friday, January 8, 2010

Re: how to map two commands on one key?

On Jan 8, 6:59 am, "yixiaodaf...@gmail.com" <yixiaodaf...@gmail.com>
wrote:

> > Does anyone know what I did wrong?

You didn't have an Enter after the first command. Either put <cr> at
the end of the first, or, perhaps better, put <bar> between them.
See :help :bar.

Anyway, you'll want a <cr> at the end of your map.

Regards, John

No comments: