mapping extended keyboard keys in vi/ksh

mapping extended keyboard keys in vi/ksh

Post by Brian Montgome » Wed, 18 Nov 1992 00:39:56



hi netters,
       I need your expertise in vi to help figure out this problem.

I want to map the extended keyboard to some macros in vi.  

Like for example I want to map the
pageup key to  
pagedown key to  
home   key to :1G
end    key to :G

Another problem is mapping of the arrow keys.

I use the kornshell and I would like to map the arrow keys to
up arrow to k
down arrow to j
right arrow to l
left arrow to h

Any help will be greatly appreciated.
Emailing me your responses would be a good idea
as I don't frequent the net often. I will summarise and post , if
I get enough requests (> 10).

Thanks in advance