diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-04-06 19:32:07 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-04-06 19:32:07 +0300 |
commit | 3728538352e7ee0e47cc5840038d1c737f3e39e0 (patch) | |
tree | ba238534ee4f9a2d4e8c6aadea955a13b3dd3ef8 | |
parent | ed73342ba738a2f65bf916a10670bfeec137a562 (diff) | |
download | sciteco-3728538352e7ee0e47cc5840038d1c737f3e39e0.tar.gz |
session.tes extensions: allow per-session .teco_ini; detect sessions in arbitrary parent directories (WIP)session-extensions
* Unfortunately not that easy to get right,
especially the per-session .teco_ini.
* We must make sure that we do mung the $SCITECOCONFIG/.teco_ini.
* .teco_ini must always be munged even if .teco_session is not munged.
-rw-r--r-- | fallback.teco_ini | 16 | ||||
-rw-r--r-- | lib/session.tes | bin | 3180 -> 3732 bytes |
2 files changed, 4 insertions, 12 deletions
diff --git a/fallback.teco_ini b/fallback.teco_ini index 0211ade..fc37dcf 100644 --- a/fallback.teco_ini +++ b/fallback.teco_ini @@ -78,18 +78,10 @@ EMQ[$SCITECOPATH]/fnkeys.tes !!500*1000*1000,2EJ !* - * If files are given on the command-line, open them - * and disable session saving. - * Otherwise open a buffer session. + * Uncomment to use a separate session per VCS repository or + * working copy (see session.tes): *! -Z"= - !* - * Uncomment to use a separate session per VCS repository or - * working copy (see session.tes): - *! - !!M[session.vcs] - M[session.load] -| - [session.path] !* disables session saving *! +!!M[session.vcs] +M[session.load]"F M[opener] -EF ' diff --git a/lib/session.tes b/lib/session.tes Binary files differindex 3048e9e..3138e37 100644 --- a/lib/session.tes +++ b/lib/session.tes |