mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 05:28:06 +11:00
VE: 'g' becomes 'G' and 'g' selects line
This commit is contained in:
parent
c2b507eaff
commit
2111f694f6
2
blk/122
2
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.
|
||||
|
||||
|
2
blk/123
2
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.
|
||||
|
||||
|
3
blk/128
3
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 ;
|
||||
|
Loading…
Reference in New Issue
Block a user