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> 

so you can use <new code> to perform the functionality of
<old code>. And when I look at the help pages of "map" I
think (...) this is how it works.

Or in other words: I want the functionality of CTRL-e performed when
pressing CTRL-UP.

But it is late in the evening, I did a lot of programming today and I
would wish the white mice on my keyboard would go away, when the big
white rabbit will appear in the door...

No, I am not using drugs... ;) I *hate* drugs. 

Keep hacking!
mcc
(sleepy)

Reply via email to