瀏覽代碼

VE: 'g' becomes 'G' and 'g' selects line

master
Virgil Dupras 4 年之前
父節點
當前提交
2111f694f6
共有 3 個檔案被更改,包括 4 行新增3 行删除
  1. +1
    -1
      blk/122
  2. +1
    -1
      blk/123
  3. +2
    -1
      blk/128

+ 1
- 1
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.



+ 1
- 1
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.



+ 2
- 1
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…
取消
儲存