From 2111f694f6db0dff8a60b2a68d711b82a8793abd Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sat, 4 Jul 2020 07:40:12 -0400 Subject: [PATCH] VE: 'g' becomes 'G' and 'g' selects line --- blk/122 | 2 +- blk/123 | 2 +- blk/128 | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/blk/122 b/blk/122 index 63ffa56..3d948dc 100644 --- a/blk/122 +++ b/blk/122 @@ -7,7 +7,7 @@ keystrokes described below. The modifier starts at zero, but most commands interpret a zero as a 1 so that they can have an effect. -'g' selects the block specified by the modifier as the current +'G' selects the block specified by the modifier as the current block. Any change made to the previously selected block is saved beforehand. diff --git a/blk/123 b/blk/123 index 56a39af..c56f7dc 100644 --- a/blk/123 +++ b/blk/123 @@ -1,5 +1,5 @@ 'h' and 'l' move the cursor by "modifier" characters. 'j' and -'k', by lines. +'k', by lines. 'g' moves to "modifier" line. 'H' goes to the beginning of the line, 'L' to the end. diff --git a/blk/128 b/blk/128 index c07ea03..17e494f 100644 --- a/blk/128 +++ b/blk/128 @@ -1,4 +1,4 @@ -: $g ACC @ selblk ; +: $G ACC @ selblk ; : $[ BLK> @ acc@ - selblk ; : $] BLK> @ acc@ + selblk ; : $t PREVBLK @ selblk ; @@ -10,4 +10,5 @@ : $h -1 cmv ; : $l 1 cmv ; : $k -64 cmv ; : $j 64 cmv ; : $H EDPOS @ 0x3c0 AND pos! ; : $L EDPOS @ 0x3f OR pos! ; +: $g ACC @ 1 MAX 1- 64 * pos! ; : $@ BLK> @ BLK@* @ EXECUTE 0 BLKDTY ! contents ;