home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:4775 comp.unix.questions:13571
- Newsgroups: comp.unix.wizards,comp.unix.questions
- Path: sparky!uunet!meaddata!brianm
- From: brianm@meaddata.com (Brian Montgomery)
- Subject: mapping extended keyboard in vi/ksh
- Sender: news@meaddata.com (Usenet Administrator)
- Organization: Mead Data Central, Dayton OH
- Date: Wed, 18 Nov 1992 14:33:05 GMT
- Message-ID: <1992Nov18.143305.2506@meaddata.com>
- Distribution: usa
- Lines: 32
-
- 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
- home key to ^
- end key to $
-
-
-
- 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
-
-
-