mhinz / mhinz/vim-startify

When (autoloading) from :mks Session.vim it wants to save it in the session directory

Open
#362 1 comment 1 reaction 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.