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
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,8 @@ use {
41
41
# 💡 Behaviour
42
42
43
43
1. When starting `nvim` with no arguments, AutoSession will try to restore an existing session for the current `cwd` if one exists.
44
-
2. When starting `nvim .` (or another directory), AutoSession will try to restore the session for that directory. See [argument handling](#🗃%EF%B8%8F-argument-handling) for more details.
45
-
3. When starting `nvim some_file.txt` (or multiple files), by default, AutoSession won't do anything. See [argument handling](#🗃%EF%B8%8F-argument-handling) for more details.
44
+
2. When starting `nvim .` (or another directory), AutoSession will try to restore the session for that directory. See [argument handling](#%EF%B8%8F-argument-handling) for more details.
45
+
3. When starting `nvim some_file.txt` (or multiple files), by default, AutoSession won't do anything. See [argument handling](#%EF%B8%8F-argument-handling) for more details.
46
46
4. Even after starting `nvim` with a file argument, a session can still be manually restored by running `:SessionRestore`.
47
47
5. Any session saving and restoration takes into consideration the current working directory `cwd`.
48
48
6. When piping to `nvim`, e.g: `cat myfile | nvim`, AutoSession won't do anything.
0 commit comments