You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,14 @@ Note that the session.vim plug-in automatically and unconditionally executes the
93
93
94
94
This option controls the location of your session scripts. Its default value is `~/.vim/sessions` (on UNIX) or `~\vimfiles\sessions` (on Windows). If you don't mind the default you don't have to do anything; the directory will be created for you. Note that a leading `~` is expanded to your current home directory (`$HOME` on UNIX, `%USERPROFILE%` on Windows).
95
95
96
+
### The `g:session_default_name` option
97
+
98
+
The name of the default session without directory or filename extension (you'll never guess what the default is).
99
+
100
+
### The `g:session_extension` option
101
+
102
+
The filename extension of session scripts. This should include the dot that separates the basename from the extension. Defaults to '.vim'.
103
+
96
104
### The `g:session_autoload` option
97
105
98
106
By default this option is set to `'prompt'`. This means that when you start Vim without opening any files and the `default` session script exists, the session plug-in will ask whether you want to restore your default session. When you set this option to `'yes'` and you start Vim without opening any files the default session will be restored without a prompt. To completely disable automatic loading you can set this option to `'no'`.
0 commit comments