On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
From: "Yakov Lerner" <[EMAIL PROTECTED]>
Subject: Re: The wonders of keymaping...
Date: Thu, 21 Sep 2006 20:46:37 +0300
> On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I wanted to remap
> >
> > Ctrl-e to Ctrl-Up
> >
> > and
> >
> > Ctrl-y to Ctrl-Down
> >
> > . In my .vimrc I wrote
> >
> >
> > nnoremap <C-e> <C-Up>
> > nnoremap <C-y> <C-Down>
>
> Hmmm ... did you possibly want[ed] to do:
>
> nnoremap <C-Up> <C-e>
> nnoremap <C-Down> <C-y>
>
> ?
>
> Yakov
>
Ough...I get some headache now...wait...
I _thought_ it would work like
*map <old code> <new code>
'map X Y' is best explained likethis:
When you press keys X, perform Y (that is, act as if user typed Y).
Yakov