aboutsummaryrefslogtreecommitdiff
path: root/doc/04_WorkingWithFiles.md
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-02-05 15:39:19 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2013-02-05 15:39:19 -0500
commit8e45692099dd22635bb06764ef281e858784565f (patch)
tree5b6df9019a667be63f6ac9ff557ce2762e0b4bfe /doc/04_WorkingWithFiles.md
parent86ad9c9f1cf93704f12e760eb4b396f40d55d404 (diff)
downloadtextadept-8e45692099dd22635bb06764ef281e858784565f.tar.gz
textadept-8e45692099dd22635bb06764ef281e858784565f.zip
Added command line switches for loading sessions on startup.
Diffstat (limited to 'doc/04_WorkingWithFiles.md')
-rw-r--r--doc/04_WorkingWithFiles.md10
1 files changed, 6 insertions, 4 deletions
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