VE: add @ command

This commit is contained in:
Virgil Dupras 2020-06-28 20:19:42 -04:00
parent 5a2612a9c5
commit 5e01e6405a
2 changed files with 4 additions and 0 deletions

View File

@ -8,3 +8,6 @@ be sure, then press 'E'.
'R' goes into replace mode at current cursor position.
Following keystrokes replace current character and advance
cursor. Press return to return to normal mode.
'@' re-reads current block even if it's dirty, thus undoing
recent changes.

View File

@ -10,3 +10,4 @@
: $h -1 cmv ; : $l 1 cmv ; : $k -64 cmv ; : $j 64 cmv ;
: $H EDPOS @ 0x3c0 AND pos! ;
: $L EDPOS @ 0x3f OR pos! ;
: $@ BLK> @ BLK@* @ EXECUTE 0 BLKDTY ! contents ;