aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/session.tes
AgeCommit message (Collapse)AuthorFilesLines
2014-11-24Q-Register loading and saving using the IOView classRobin Haberkorn1-2/+1
* EW can save Q-Registers now * the new E% may be used to save a q-register without making it the current document
2014-11-22updated lexer and session libraries using new EU, [* and ]* commandsRobin Haberkorn1-6/+7
2014-11-22allow setting the "*" register as an alternative to nEBRobin Haberkorn1-4/+3
this is more consistent with SciTECO's idea of abstract registers and allows the currend buffer to be saved on the Q-Register stack. This allows the idiom: [* ! ...change current buffer... ! ]*
2014-11-22added a buffer session module (session.tes)Robin Haberkorn1-0/+42
This is a simple and straight-forward implementation of buffer sessions in SciTECO. A session is merely a SciTECO script that opens files when executed (and restores properties). The current session is identified by this script's filename in Q-Register "session.path": ~/.teco_session by default. Users may set "session.path" to manage different profiles. An abstraction of session "names" is not provided. Users are expected to hack these on their own. For the common task of having one session per profile, the "session.git" macro is provided. It set's up the current session relative to the current Git repository. This will create ".teco_session" files in the root of Git repositories, that may be added to a global ignore pattern (or they may even be versioned!)