When (autoloading) from :mks Session.vim it wants to save it in the session directory
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 5.4k
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
When you load a session from the vim standard Session.vim in the directory (e.g. via autoload) and then do a :SSave it will want to save it in ~/.vim/sessions/ instead of the file it was loaded from.
Either it should then detect where it was loaded from, or maybe a command would be convenient that would always save in the session that was loaded, not asking for anything (when not using autosave it gets a bit annoying anyways to save and confirm the name). What might also work is a way to autoload a session from ~/.vim/session by some special file/Session.vim in the current directory?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Reproduce the behavior by loading a standard Session.vim via autoload and running :SSave, then trace the session-loading and save entry points; done should be a settled, tested behavior for saving the loaded session without an unwanted directory or confirmation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100