diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-11-24 07:31:40 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-11-24 07:46:01 +0100 |
commit | abda28b2763e48f8b6b77220a677c1cdeb5d8970 (patch) | |
tree | f1b533fcb85b8e32001bd8e4183768fc2631ac67 /sample.teco_ini | |
parent | 7b11290de97fa6cb2dabfbd6d2099da875ccc099 (diff) | |
download | sciteco-abda28b2763e48f8b6b77220a677c1cdeb5d8970.tar.gz |
introduced $SCITECOCONFIG env variable, and set different default for $SCITECOPATH on Windows
* $SCITECOCONFIG has been introduced, so have a macro-accessible location
for the profile, buffer session etc.
This is set to the program dir on Windows. That way, the config files
will be found, regardless of the current working dir, but it may also
be set up for Unix-like environments on Windows.
* $SCITECOPATH defaults to the program dir + "/lib" now on Windows.
* The default profile is now always called ".teco_ini". Also on Windows.
Platform differences like this would need to be documented.
* The sample teco.ini has been renamed to "sample.teco_ini" for clarity
Diffstat (limited to 'sample.teco_ini')
-rw-r--r-- | sample.teco_ini | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sample.teco_ini b/sample.teco_ini new file mode 100644 index 0000000..67ead44 --- /dev/null +++ b/sample.teco_ini @@ -0,0 +1,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 +' |