plugins.auto-session.cwdChangeHandling

Config for handling the DirChangePre and DirChanged autocmds. Set to false to disable the feature.

Type: null or value false (singular enum) or (submodule)

Default: null

Plugin default: false

Declared by:

plugins.auto-session.cwdChangeHandling.postCwdChangedHook

lua function hook. This is called after auto_session code runs for the DirChanged autocmd.

Type: null or lua function string

Default: null

Plugin default: "nil"

plugins.auto-session.cwdChangeHandling.preCwdChangedHook

lua function hook. This is called after auto_session code runs for the DirChangedPre autocmd.

Type: null or lua function string

Default: null

Plugin default: "nil"

plugins.auto-session.cwdChangeHandling.restoreUpcomingSession

Restore session for upcoming cwd on cwd change.

Type: null or boolean or raw lua code

Default: null

Plugin default: true