aboutsummaryrefslogtreecommitdiffhomepage
path: root/teco.ini
blob: 67ead44b2e1746d0d9cc71ad91cd528d5aa5afdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
! TECO.INI !

! Set default terminal color scheme !
EMQ[$SCITECOPATH]/color.tes
:EMQ[$SCITECOPATH]/colors/terminal.tes

! Load lexer and buffer session libraries !
EMQ[$SCITECOPATH]/lexer.tes
EMQ[$SCITECOPATH]/session.tes

! Uncomment to use a separate session per Git repository !
! M[session.git] !

! Automatic lexing and session management using ED hooks !
@#ED{
  Oadd,edit,close,quit
  !add!
    ! Add code here to execute when a document is added !
    M[lexer.auto]
    ! Set up margins !
    33ESTEXTWIDTH9U.w
    5*Q.w,0ESSETMARGINWIDTHN
    0,1ESSETMARGINWIDTHN
    Q.w,2ESSETMARGINWIDTHN
    ! fall through !

  !edit!
    ! Add code here to execute when a document is edited !
    Oend

  !close!
    ! Add code here to execute when a document is closed !
    Oend

  !quit!
    ! Add code here to execute when SciTECO quits !
    M[session.save]
!end!}
0,32ED

! Keyboard macros !
EMQ[$SCITECOPATH]/fnkeys.tes
! Uncomment to enable default keyboard macros !
! 0,64ED !

! open all files specified on the commandline
  If no file is specified, load the last buffer session !
Z"=
  M[session.load]
|
  [.f
    <:L;R 0X.f [* EBQ.f ]* L>
  ].f
  -EF
'