mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 04:48:05 +11:00
ed and VE: add command Y
This commit is contained in:
parent
8f0e51a21c
commit
bc951a5ff1
4
blk/101
4
blk/101
@ -12,5 +12,5 @@ F xxx: find typed FBUF in block, starting from current
|
||||
position+1. If not found, don't move.
|
||||
I xxx: insert typed IBUF at cursor. "I" shadows core word. Use
|
||||
"i" to access it.
|
||||
X ( n -- ): Delete X chars after cursor and place in IBUF.
|
||||
E: Run X with n = length of FBUF.
|
||||
Y: Copy n characters after cursor into IBUF, n being length of
|
||||
FBUF. (cont.)
|
||||
|
2
blk/102
Normal file
2
blk/102
Normal file
@ -0,0 +1,2 @@
|
||||
X ( n -- ): Delete X chars after cursor and place in IBUF.
|
||||
E: Run X with n = length of FBUF.
|
2
blk/112
2
blk/112
@ -8,4 +8,4 @@
|
||||
SWAP 0 FILL
|
||||
EDPOS @ 64 / _pln ;
|
||||
: E FBUF _blen X ;
|
||||
|
||||
: Y FBUF _blen icpy ;
|
||||
|
4
blk/122
4
blk/122
@ -6,8 +6,8 @@
|
||||
'w' moves forward by "modifier" words. 'b' moves backward.
|
||||
'W' moves to end-of-word. 'B', backwards.
|
||||
|
||||
'I', 'F', 'X' and 'E' invoke the corresponding command from the
|
||||
Block Editor (B100). Refer to documentation there.
|
||||
'I', 'F', 'Y', 'X' and 'E' invoke the corresponding command
|
||||
from the Block Editor (B100). Refer to documentation there.
|
||||
|
||||
'o' inserts a blank line after the cursor. 'O', before.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user