aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/fnkeys.tes59
1 files changed, 28 insertions, 31 deletions
diff --git a/lib/fnkeys.tes b/lib/fnkeys.tes
index 081e7d0..fd6b332 100644
--- a/lib/fnkeys.tes
+++ b/lib/fnkeys.tes
@@ -20,14 +20,14 @@
* Make DELETE an ESCAPE surrogate.
* Macro is enabled everywhere.
*!
-@[DC]{}
+@[ DC]{}
!*
* Make SHIFT+DELETE a rubout/re-insert key.
* This reverses the ^G modifier for BACKSPACE.
* The macro is enabled everywhere.
*!
-@[SDC]{}
+@[ SDC]{}
!*
* Command line editing macros.
@@ -41,16 +41,16 @@
Q.pESGETCOLUMN,4EJ
Q.p-.M#c
}
-@[HOME]{(M[HOME]}
-1U[HOME]
+@[ HOME]{(M[HOME]}
+1U[ HOME]
@[END]{
ESLINEFROMPOSITIONESGETLINEENDPOSITIONU.p
Q.pESGETCOLUMN,4EJ
Q.p:-.M#c
}
-@[END]{(M[END]}
-1U[END]
+@[ END]{(M[END]}
+1U[ END]
@[NPAGE]{
0,4EJ
@@ -58,72 +58,69 @@
ESPOSITIONFROMLINEU.p
Q.p"< Z | Q.p: '-.M#c
}
-@[NPAGE]{(M[NPAGE]}
-1U[NPAGE]
+@[ NPAGE]{(M[NPAGE]}
+1U[ NPAGE]
@[PPAGE]{
0,4EJ
ESLINEFROMPOSITION-(ESLINESONSCREEN)U.l
Q.l"< 0 | Q.lESPOSITIONFROMLINE: '-.M#c
}
-@[PPAGE]{(M[PPAGE]}
-1U[PPAGE]
+@[ PPAGE]{(M[PPAGE]}
+1U[ PPAGE]
@[LEFT]{
."=0|.-1'U.p
Q.pESGETCOLUMN,4EJ
Q.p-.M#c
}
-@[LEFT]{(M[LEFT]}
-1U[LEFT]
+@[ LEFT]{(M[LEFT]}
+1U[ LEFT]
@[SLEFT]{
0,0,ESWORDSTARTPOSITIONESWORDSTARTPOSITIONU.p
Q.pESGETCOLUMN,4EJ
Q.p:-.M#c
}
-@[SLEFT]{(M[SLEFT]}
-1U[SLEFT]
+@[ SLEFT]{(M[SLEFT]}
+1U[ SLEFT]
@[RIGHT]{
.-Z"=.|.+1'U.p
Q.pESGETCOLUMN,4EJ
Q.p-.M#c
}
-@[RIGHT]{(M[RIGHT]}
-1U[RIGHT]
+@[ RIGHT]{(M[RIGHT]}
+1U[ RIGHT]
@[SRIGHT]{
0,0,ESWORDENDPOSITIONESWORDENDPOSITIONU.p
Q.pESGETCOLUMN,4EJ
Q.p:-.M#c
}
-@[SRIGHT]{(M[SRIGHT]}
-1U[SRIGHT]
+@[ SRIGHT]{(M[SRIGHT]}
+1U[ SRIGHT]
@[UP]{
4EJ(ESLINEFROMPOSITION-1)ESFINDCOLUMN:-.M#c
}
-@[UP]{(M[UP]}
-1U[UP]
+@[ UP]{(M[UP]}
+1U[ UP]
@[DOWN]{
4EJ(ESLINEFROMPOSITION+1)ESFINDCOLUMN:-.M#c
}
-@[DOWN]{(M[DOWN]}
-1U[DOWN]
+@[ DOWN]{(M[DOWN]}
+1U[ DOWN]
-@[CLOSE]{(EX)}
-1U[CLOSE]
+@[ CLOSE]{(EX)}
+1U[ CLOSE]
!*
* Zoom with F9/F10 if function keys are enabled.
* This is automatically rubbed out.
*!
-@[F9]{(ESZOOMOUT{-13D}}
-1U[F9]
-@[F10]{(ESZOOMIN{-12D}}
-1U[F10]
-
-!* enable function key (macro) support *!
-0,64ED
+@[ F9]{(ESZOOMOUT{-13D}}
+1U[ F9]
+@[ F10]{(ESZOOMIN{-12D}}
+1U[ F10]