tpope / tpope/vim-obsession

feature request: session files fallback directory

Open
#86 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
1.9k
Forks
73
PR merge metrics
No merged PRs in 30d

Description

Thank you for the plugin.

I would like to have a fallback dir to search my "out-of-band" session files.

For example, I stored my session with :Obsess ~/.local/state/vim/ (that was a long to type but I agree to do it once).
Next time I would like to be able to quickly restore the session without the long path typing (or maybe without typing at all).
As the path is going to be the same every time, I would like to have it as fallback default to search for the sessions.

Could we think about the strategy here, maybe implement some assistance from the plugin?
Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the plugin's existing session-file handling and the :Obsess command entry point. Decide how a fallback directory should be configured and searched, then verify that a session stored outside the usual location can be restored without repeating its full path.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.