Hello Paul!
I finally got the jack of Insert not changing mode, and hey presto, it
worked first go! Here is the latest!
set $timeflag TRUE
set $posflag TRUE
bind-to-key newline ^J
bind-to-key newline-and-indent ^M
set $hardtab 4
set $softtab 4
set $sscroll TRUE
bind-to-key quick-exit FN3
bind-to-key beginning-of-line FN<
bind-to-key end-of-line FN>
bind-to-key beginning-of-file FN^Z
bind-to-key end-of-file FN^V
1 store-macro
!if &equ $cwline $wline
set $cwline 1
!else
!if &gre &sub $curline &sub $wline 1 1
goto-line &sub $curline &sub $wline 1
!else
goto-line 1
!endif
!endif
!endm
bind-to-key execute-macro-1 FN7
2 store-macro
!if &equ $cwline 1
goto-line &add $curline &sub $wline 1
!else
&sub $cwline 1 move-window-down
!endif
!endm
bind-to-key execute-macro-2 FN8
3 store-macro
set %temp &sub $curline $wline
$wline move-window-up
!if &gre %temp 1
goto-line %temp
!else
goto-line 1
!endif
!endm
bind-to-key execute-macro-3 FNZ
4 store-macro
set %temp &add $curline $wline
$wline move-window-down
goto-line %temp
!endm
bind-to-key execute-macro-4 FNV
set %glblins 1
5 store-macro
!if &equ %glblins 1
set %glblins 0
add-mode over
!else
set %glblins 1
delete-mode over
!endif
!endm
bind-to-key execute-macro-5 FNC
Paul
--- GoldED 2.40
* Origin: Ten Minute Limit (3:711/934)
|