Open dylan-chong opened 7 years ago
I've achieved this using the following config - it sets the default session name to the current working directory name, and prompts to load it when you re-open vim from that directory.
let g:session_autoload = 'prompt'
let g:session_default_name = fnamemodify(getcwd(), ':t')
to achieve this behaviour: