aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-06 19:32:07 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-06 19:32:07 +0300
commit3728538352e7ee0e47cc5840038d1c737f3e39e0 (patch)
treeba238534ee4f9a2d4e8c6aadea955a13b3dd3ef8
parented73342ba738a2f65bf916a10670bfeec137a562 (diff)
downloadsciteco-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_ini16
-rw-r--r--lib/session.tesbin3180 -> 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
index 3048e9e..3138e37 100644
--- a/lib/session.tes
+++ b/lib/session.tes
Binary files differ