Follow POLA and bind the <End> key to the `$' command.
This is committed to the vendor (BOSTIC) branch because it was accepted (committed) by ``nvi'' maintainers: On Fri, Dec 01, 2000 at 03:51:14PM +0100, Sven Verdoolaege wrote: [...] > RCS file: /b/CVSROOT/vi/cl/cl_bsd.c,v > Working file: cl_bsd.c > head: 8.32 > branch: > locks: strict > access list: > symbolic names: > nvi1-81-1: 8.31 > nvi1-81-0: 8.30 > nvi1-80: 8.29.0.2 > keyword substitution: kv > total revisions: 32; selected revisions: 1 > description: > ---------------------------- > revision 8.32 > date: 2000/12/01 13:56:17; author: skimo; state: Exp; lines: +2 -1 > allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>) > ============================================================================= > > RCS file: /b/CVSROOT/vi/cl/cl_term.c,v > Working file: cl_term.c > head: 10.28 > branch: > locks: strict > access list: > symbolic names: > nvi1-81-1: 10.27 > nvi1-81-0: 10.23 > nvi1-80: 10.23.0.2 > keyword substitution: kv > total revisions: 47; selected revisions: 1 > description: > ---------------------------- > revision 10.28 > date: 2000/12/01 13:56:18; author: skimo; state: Exp; lines: +2 -1 > allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>)
This commit is contained in:
parent
59cc89c2c2
commit
a0f3c80b90
@ -210,6 +210,7 @@ static const TL list[] = {
|
||||
"kdl1", "kL", /* Delete line. */
|
||||
"ked", "kS", /* Delete to end of screen. */
|
||||
"kel", "kE", /* Delete to eol. */
|
||||
"kend", "@7", /* Go to eol. */
|
||||
"khome", "kh", /* Go to sol. */
|
||||
"kich1", "kI", /* Insert at cursor. */
|
||||
"kil1", "kA", /* Insert line. */
|
||||
|
@ -51,6 +51,7 @@ static TKLIST const c_tklist[] = { /* Command mappings. */
|
||||
{"kel", "D", "delete to eol"},
|
||||
{"kind", "\004", "scroll down"}, /* ^D */
|
||||
{"kll", "$", "go to eol"},
|
||||
{"kend", "$", "go to eol"},
|
||||
{"khome", "^", "go to sol"},
|
||||
{"kich1", "i", "insert at cursor"},
|
||||
{"kdl1", "dd", "delete line"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user