Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use persisted to provide more powerful session management. #810

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

ayamir
Copy link
Owner

@ayamir ayamir commented Jun 19, 2023

  • Replace auto-session with persisted.nvim.
  • Introduce a new keymap <leader>fd to invoke session manage interface supported by telescope.
  • It's compatiable with existed sessions saved by auto-session.

@Jint-lzxy
Copy link
Collaborator

cc @Saafo

@CharlesChiuGit
Copy link
Collaborator

this seems cool!

Copy link
Collaborator

@Jint-lzxy Jint-lzxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixup commit:

  • <leader>sr --> <leader>sl since SessionRestore was renamed to SessionLoad;
  • Use the recommended config for sessionoptions

Copy link
Collaborator

@Jint-lzxy Jint-lzxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM tho I don't use this feature very much :)

@ayamir
Copy link
Owner Author

ayamir commented Jun 22, 2023

@Saafo I'll merge it if looks good to you.

@Saafo
Copy link
Contributor

Saafo commented Jun 22, 2023

@Saafo I'll merge it if looks good to you.

LGTM! Thanks!

@ayamir ayamir merged commit cead7f4 into main Jun 22, 2023
4 checks passed
@ayamir ayamir deleted the feat/persisted branch June 22, 2023 13:24
singlemancombat pushed a commit to singlemancombat/nvim-config that referenced this pull request Jun 23, 2023
…mir#810)

* feat: use persisted to provide more powerful session management.

* fixup! feat: use persisted to provide more powerful session management.

---------

Co-authored-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants