Skip to content

Commit

Permalink
Merge pull request #328 from raffaem/patch-1
Browse files Browse the repository at this point in the history
Proper markdown list formatting in README.md
  • Loading branch information
rmagatti authored Jul 15, 2024
2 parents 154b8fd + 238eef2 commit 08c2798
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ Manually saving a session can still be done by calling `:SessionSave`.

AutoSession can now track `cwd` changes!
By default, `cwd` handling is disabled but when enabled, it works as follows:
DirChangedPre (before the cwd actually changes):

- DirChangedPre (before the cwd actually changes):
- Save the current session
- Clear all buffers `%bd!`. This guarantees buffers don't bleed to the
next session.
- Clear jumps. Also done so there is no bleeding between sessions.
- Run the `pre_cwd_changed_hook`/
DirChanged (after the cwd has changed):
- DirChanged (after the cwd has changed):
- Restore session using new cwd
- Run the `post_cwd_changed_hook`

Expand Down

0 comments on commit 08c2798

Please sign in to comment.