From 8e45692099dd22635bb06764ef281e858784565f Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 5 Feb 2013 15:39:19 -0500 Subject: Added command line switches for loading sessions on startup. --- doc/04_WorkingWithFiles.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc/04_WorkingWithFiles.md') diff --git a/doc/04_WorkingWithFiles.md b/doc/04_WorkingWithFiles.md index 1ea480ce..04b4726c 100644 --- a/doc/04_WorkingWithFiles.md +++ b/doc/04_WorkingWithFiles.md @@ -87,10 +87,12 @@ files to reopen. By default, Textadept saves its state on exit so it can be restored the next time the editor starts up. You can disable this by passing the `-n` or `--nosession` switch to Textadept on startup. Sessions can be manually saved and -opened via the "File -> Save Session..." and "File -> Load Session..." menus. -Session files store information such as open buffers, current split views, caret -and scroll positions in each buffer, Textadept's window size, and recently -opened files. Tampering with session files may have unintended consequences. +opened via the "File -> Save Session..." and "File -> Load Session..." menus or +by using the `-s` and `--session` switches on startup. The switches accept the +path of a session file or the name of a session in *~/.textadept/*. Session +files store information such as open buffers, current split views, caret and +scroll positions in each buffer, Textadept's window size, and recently opened +files. Tampering with session files may have unintended consequences. ### Snapopen -- cgit v1.2.3