"Peng Yu" <[EMAIL PROTECTED]> 写于 2006-10-19 10:17:55:

> On 10/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > "Peng Yu" <[EMAIL PROTECTED]> 写于 2006-10-18 23:18:14:
> > > Is it possible to not to press the last enter key? It is not very
> > convenient.
> > >
> > > Thanks,
> > > Peng
> >
> > try this instead:
> >
> > map <F12> <ESC>:cope<kEnter><C-W>p:w<kEnter>:make<kEnter>
>
> I still have to type Enter at the end.

I don't have the same problem as you, and the mapping works for me.

You'll have to be more specific and give more details, what did you see and
why you must press Enter, and what you have configured for you vim (.vimrc
might help).


--
Sincerely, Pan, Shi Zhu. ext: 2606

Reply via email to